]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
removed HandleSysCommand() and don't generate duplicate events for frame maximization...
[wxWidgets.git] / src / common / framecmn.cpp
index 74b8205590c7f3e75dad61002e3b9cd2bc2e977b..f45162744039db5c8ff5565ec9f1aed1e56c4534 100644 (file)
@@ -156,7 +156,7 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
     wxPoint pt = wxTopLevelWindow::GetClientAreaOrigin();
 
 #if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) && \
-  (!defined(__WXWINCE__) || (_WIN32_WCE >= 400 && !wxUSE_POCKETPC_UI))
+  (!defined(__WXWINCE__) || (_WIN32_WCE >= 400 && !defined(WIN32_PLATFORM_PSPC) && !defined(WIN32_PLATFORM_WFSP)))
     wxToolBar *toolbar = GetToolBar();
     if ( toolbar && toolbar->IsShown() )
     {