]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbr95.cpp
prefix implementation methods of wxBitmapButton with 'GTK' to prevent shadowing of...
[wxWidgets.git] / src / msw / statbr95.cpp
index d87e65c51557dccaa3dbd03933360a7ddc134d1c..0913dbf5aa068f54b505030fba53664c741da06b 100644 (file)
@@ -99,10 +99,17 @@ bool wxStatusBar95::Create(wxWindow *parent,
 #endif
     }
 
 #endif
     }
 
-    m_hWnd = (WXHWND)CreateStatusWindow(wstyle,
-                                        wxEmptyString,
-                                        GetHwndOf(parent),
-                                        m_windowId);
+    m_hWnd = CreateWindow
+             (
+                STATUSCLASSNAME,
+                _T(""),
+                wstyle,
+                0, 0, 0, 0,
+                GetHwndOf(parent),
+                (HMENU)m_windowId.GetValue(),
+                wxGetInstance(),
+                NULL
+             );
     if ( m_hWnd == 0 )
     {
         wxLogSysError(_("Failed to create a status bar."));
     if ( m_hWnd == 0 )
     {
         wxLogSysError(_("Failed to create a status bar."));