]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/pen.cpp
correct access for virtual
[wxWidgets.git] / src / mgl / pen.cpp
index bc20908091ee573f7ff5fe4a0ea5ca65d8a38806..4c63041cbfd62b6975c6223fe8d80254c56ac37c 100644 (file)
@@ -18,9 +18,9 @@
 
 #ifndef WX_PRECOMP
     #include "wx/bitmap.h"
+    #include "wx/colour.h"
 #endif
 
-#include "wx/colour.h"
 #include "wx/mgl/private.h"
 
 //-----------------------------------------------------------------------------
@@ -237,7 +237,7 @@ void* wxPen::GetPixPattern() const
 }
 
 
-bool wxPen::Ok() const
+bool wxPen::IsOk() const
 {
     return (m_refData != NULL);
 }