Use defs.h (and automatically setup.h and chkconf.h) before first wxUSE_* check (bug #1164141).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,9 +16,12 @@
|
||||
#pragma interface "popupwinbase.h"
|
||||
#endif
|
||||
|
||||
#include "wx/window.h"
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_POPUPWIN
|
||||
|
||||
#include "wx/window.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxPopupWindow: a special kind of top level window used for popup menus,
|
||||
// combobox popups and such.
|
||||
@@ -106,7 +109,7 @@ public:
|
||||
|
||||
// Overridden to grab the input on some plaforms
|
||||
virtual bool Show( bool show = true );
|
||||
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
Reference in New Issue
Block a user