]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/framecmn.cpp
Added wxPaintDCEx class, to handle the case where an HDC
[wxWidgets.git] / src / common / framecmn.cpp
index 4abe465d336fe16bd33dd8658e0a18085245bd6b..cbf6bf21ee24a0501d9aef1c7ee4672dc29296e8 100644 (file)
@@ -151,7 +151,7 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
 {
     wxPoint pt = wxTopLevelWindow::GetClientAreaOrigin();
 
-#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__)
+#if wxUSE_TOOLBAR && !defined(__WXUNIVERSAL__) && !defined(__WXWINCE__)
     wxToolBar *toolbar = GetToolBar();
     if ( toolbar && toolbar->IsShown() )
     {