]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
message output for darwin into console, cannot use the normal converters as these...
[wxWidgets.git] / src / common / framecmn.cpp
index 1b8448f0adf27772a2e35dd7320563c0de5ba531..b66e7a3f0de52fde94baa7b8e5b1f18d8fa2452c 100644 (file)
@@ -155,8 +155,7 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
 {
     wxPoint pt = wxTopLevelWindow::GetClientAreaOrigin();
 
 {
     wxPoint pt = wxTopLevelWindow::GetClientAreaOrigin();
 
-#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) && \
-  (!defined(__WXWINCE__) || (_WIN32_WCE >= 400 && !defined(WIN32_PLATFORM_PSPC) && !defined(WIN32_PLATFORM_WFSP)))
+#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__)
     wxToolBar *toolbar = GetToolBar();
     if ( toolbar && toolbar->IsShown() )
     {
     wxToolBar *toolbar = GetToolBar();
     if ( toolbar && toolbar->IsShown() )
     {
@@ -174,15 +173,6 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
     }
 #endif // wxUSE_TOOLBAR
 
     }
 #endif // wxUSE_TOOLBAR
 
-#if defined(__WXWINCE__) && defined(WCE_PLATFORM_STANDARDSDK)
-       if (GetMenuBar() && GetMenuBar()->GetCommandBar())
-       {
-               RECT rect;
-               ::GetWindowRect((HWND) GetMenuBar()->GetCommandBar(), &rect);
-               pt.y += (rect.bottom - rect.top);
-       }
-#endif
-
     return pt;
 }
 
     return pt;
 }