fixing mngw32 (cross)compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-04-22 11:53:11 +00:00
parent 942bef71b0
commit 1f3943e027
3 changed files with 3 additions and 1 deletions

View File

@@ -1103,7 +1103,7 @@ bool wxMDIChildFrame::ResetWindowStyle(void *vrect)
// we want to test whether there is a maximized child, so just set
// dwThisStyle to 0 if there is no child at all
DWORD dwThisStyle = pChild
? ::GetWindowLong(GetWinHwnd(pChild), GWL_STYLE) : NULL;
? ::GetWindowLong(GetWinHwnd(pChild), GWL_STYLE) : 0;
DWORD dwNewStyle = dwStyle;
if ( dwThisStyle & WS_MAXIMIZE )
dwNewStyle &= ~(WS_EX_CLIENTEDGE);

View File

@@ -22,6 +22,7 @@
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/intl.h"
#endif //WX_PRECOMP
#include "wx/event.h"

View File

@@ -46,6 +46,7 @@
#include "wx/listbox.h"
#include "wx/button.h"
#include "wx/msgdlg.h"
#include "wx/settings.h"
#include <stdio.h>
#endif