]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/statusbr.cpp
Implement wxGetHostName() for Windows CE.
[wxWidgets.git] / src / univ / statusbr.cpp
index 6b70e2e7f6f7917786161c8edab27f32c1e52c85..0acfa84277bfc89c2efa8c30c3c3b7a7a4f8384d 100644 (file)
@@ -127,14 +127,14 @@ void wxStatusBarUniv::DoDraw(wxControlRenderer *renderer)
             // have the corresponding style and even then only if we really can
             // resize this frame
             if ( n == (int)m_panes.GetCount() - 1 &&
-                 HasFlag(wxST_SIZEGRIP) &&
+                 HasFlag(wxSTB_SIZEGRIP) &&
                  GetParent()->HasFlag(wxRESIZE_BORDER) &&
                  parentTLW && !parentTLW->IsMaximized() )
             {
                 flags |= wxCONTROL_SIZEGRIP;
             }
 
-            m_renderer->DrawStatusField(dc, rect, GetStatusText(n), flags, m_panes[n].nStyle);
+            m_renderer->DrawStatusField(dc, rect, GetStatusText(n), flags, m_panes[n].GetStyle());
         }
 
         rect.x += rect.width + borderBetweenFields;
@@ -207,7 +207,7 @@ void wxStatusBarUniv::OnSize(wxSizeEvent& event)
     {
         for ( field = 0; field < m_panes.GetCount(); field++ )
         {
-            if ( m_panes[field].nWidth < 0 )
+            if ( m_panes[field].GetWidth() < 0 )
             {
                 // var width field
                 break;