]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/nativdlg.cpp
warnings (and some errors) fixes for wxUniv DLL build
[wxWidgets.git] / src / msw / nativdlg.cpp
index 778cd6094149e48dfc21a7e96c3ba63ccb53635d..ed6efcdd49829699b3212819875dde91fdd4e461 100644 (file)
@@ -269,7 +269,11 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
     {
         int style1 = (style & 0xFF);
 
-        if ((style1 == SS_LEFT) || (style1 == SS_RIGHT) || (style1 == SS_SIMPLE))
+        if ((style1 == SS_LEFT) || (style1 == SS_RIGHT)
+#ifndef __WXWINCE__
+            || (style1 == SS_SIMPLE)
+#endif
+            )
             win = new wxStaticText;
 #if wxUSE_STATBMP
 #if defined(__WIN32__) && defined(BS_BITMAP)