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