r=jkobal, a=brendan
Fixing up my crappy code
This commit is contained in:
mkaply%us.ibm.com 2000-08-23 01:38:04 +00:00
Родитель 43bb5a96c7
Коммит d34ffeffe8
1 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -101,17 +101,11 @@ void nsFrameWindow::RealDoCreate( HWND hwndP, nsWindow *aParent,
// Assume frames are toplevel. Breaks if anyone tries to do MDI, which
// is an extra bonus feature :-)
HWND hwndOwner;
if (hwndP) {
hwndOwner = hwndP;
} else {
hwndOwner = HWND_DESKTOP;
} /* endif */
hwndFrame = WinCreateWindow( HWND_DESKTOP,
WC_FRAME,
0, 0, // text, style
0, 0, 0, 0, // position
hwndOwner,
hwndP ? hwndP : HWND_DESKTOP,
HWND_TOP,
0, // ID
&fcd, 0);