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:
@@ -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);
|
||||
|
@@ -22,6 +22,7 @@
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/string.h"
|
||||
#include "wx/intl.h"
|
||||
#endif //WX_PRECOMP
|
||||
|
||||
#include "wx/event.h"
|
||||
|
@@ -46,6 +46,7 @@
|
||||
#include "wx/listbox.h"
|
||||
#include "wx/button.h"
|
||||
#include "wx/msgdlg.h"
|
||||
#include "wx/settings.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user