// we need HINSTANCE declaration to define WinMain()
#include "wx/msw/wrapwin.h"
+ #ifdef SW_SHOWNORMAL
+ #define wxSW_SHOWNORMAL SW_SHOWNORMAL
+ #else
+ #define wxSW_SHOWNORMAL 0
+ #endif
+
#define IMPLEMENT_WXWIN_MAIN \
extern int wxEntry(HINSTANCE hInstance, \
HINSTANCE hPrevInstance = NULL, \
char *pCmdLine = NULL, \
- int nCmdShow = SW_NORMAL); \
+ int nCmdShow = wxSW_SHOWNORMAL); \
extern "C" int WINAPI WinMain(HINSTANCE hInstance, \
HINSTANCE hPrevInstance, \
char *lpCmdLine, \
#if wxUSE_TOOLBAR
#include "wx/tbarbase.h" // the base class for all toolbars
- #if !wxUSE_TOOLBAR_NATIVE && !defined(__WXUNIVERSAL__)
+ // Simple toolbar no longer available, so we will need to have
+ // a generic toolbar at some point (perhaps the wxUniv toolbar)
+ #if 0 // !wxUSE_TOOLBAR_NATIVE && !defined(__WXUNIVERSAL__)
#include "wx/tbarsmpl.h"
class WXDLLEXPORT wxToolBar : public wxToolBarSimple