]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/brush.cpp
Fix horizontal mouse wheel scrolling in wxGTK.
[wxWidgets.git] / src / os2 / brush.cpp
index c5f951fff7df1ab33ff2c5876092f17806e48039..b7e34cdd4f500fac1c928db55e514fb79b7ba4a6 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      David Webster
 // Modified by:
 // Created:     10/13/99
-// RCS-ID:      $Id$
 // Copyright:   (c) David Webster
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -215,7 +214,7 @@ bool wxBrush::RealizeResource()
                 break;
 
             case wxSTIPPLE:
-                if (M_BRUSHDATA->m_vStipple.Ok())
+                if (M_BRUSHDATA->m_vStipple.IsOk())
                 {
                     ::GpiSetBitmapId( M_BRUSHDATA->m_hBrush
                                      ,(USHORT)M_BRUSHDATA->m_vStipple.GetHBITMAP()
@@ -266,35 +265,35 @@ bool wxBrush::RealizeResource()
 
 wxColour wxBrush::GetColour() const
 {
-    wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid brush") );
+    wxCHECK_MSG( IsOk(), wxNullColour, wxT("invalid brush") );
 
     return M_BRUSHDATA->m_vColour;
 }
 
 wxBrushStyle wxBrush::GetStyle() const
 {
-    wxCHECK_MSG( Ok(), wxBRUSHSTYLE_INVALID, wxT("invalid brush") );
+    wxCHECK_MSG( IsOk(), wxBRUSHSTYLE_INVALID, wxT("invalid brush") );
 
     return M_BRUSHDATA->m_nStyle;
 }
 
 wxBitmap *wxBrush::GetStipple() const
 {
-    wxCHECK_MSG( Ok(), NULL, wxT("invalid brush") );
+    wxCHECK_MSG( IsOk(), NULL, wxT("invalid brush") );
 
     return &(M_BRUSHDATA->m_vStipple);
 }
 
 int wxBrush::GetPS() const
 {
-    wxCHECK_MSG( Ok(), 0, wxT("invalid brush") );
+    wxCHECK_MSG( IsOk(), 0, wxT("invalid brush") );
 
     return M_BRUSHDATA->m_hBrush;
 }
 
 WXHANDLE wxBrush::GetResourceHandle() const
 {
-    wxCHECK_MSG( Ok(), 0, wxT("invalid brush") );
+    wxCHECK_MSG( IsOk(), 0, wxT("invalid brush") );
 
     return (WXHANDLE)M_BRUSHDATA->m_hBrush;
 } // end of wxBrush::GetResourceHandle