]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/brush.cpp
speeding up rectangle drawing by using specific methods, needs 40% less time
[wxWidgets.git] / src / dfb / brush.cpp
index 87ba89e3092fe93c13be01cad6c8048926e245df..620a04aed90c6267e312bb1de945ae4b117f5f13 100644 (file)
@@ -91,14 +91,14 @@ bool wxBrush::operator==(const wxBrush& brush) const
 
 wxBrushStyle wxBrush::GetStyle() const
 {
 
 wxBrushStyle wxBrush::GetStyle() const
 {
-    wxCHECK_MSG( Ok(), wxBRUSHSTYLE_INVALID, wxT("invalid brush") );
+    wxCHECK_MSG( IsOk(), wxBRUSHSTYLE_INVALID, wxT("invalid brush") );
 
     return M_BRUSHDATA->m_style;
 }
 
 wxColour wxBrush::GetColour() const
 {
 
     return M_BRUSHDATA->m_style;
 }
 
 wxColour wxBrush::GetColour() const
 {
-    wxCHECK_MSG( Ok(), wxNullColour, wxT("invalid brush") );
+    wxCHECK_MSG( IsOk(), wxNullColour, wxT("invalid brush") );
 
     return M_BRUSHDATA->m_colour;
 }
 
     return M_BRUSHDATA->m_colour;
 }