]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/brush.cpp
more reasonable default size
[wxWidgets.git] / src / gtk / brush.cpp
index 146a4d0d88e49d50b6a354e6f7682a77442c28b1..ae8e34635ca81056ab75a11bc15cc86bae5cd7bb 100644 (file)
@@ -13,6 +13,8 @@
 
 #include "wx/brush.h"
 
+#include "gdk/gdk.h"
+
 //-----------------------------------------------------------------------------
 // wxBrush
 //-----------------------------------------------------------------------------
@@ -109,7 +111,7 @@ int wxBrush::GetStyle() const
 {
   if (m_refData == NULL)
   {
-    wxFAIL_MSG( "invalid brush" );
+    wxFAIL_MSG( _T("invalid brush") );
     return 0;
   }
 
@@ -120,7 +122,7 @@ wxColour &wxBrush::GetColour() const
 {
   if (m_refData == NULL)
   {
-    wxFAIL_MSG( "invalid brush" );
+    wxFAIL_MSG( _T("invalid brush") );
     return wxNullColour;
   }
 
@@ -131,7 +133,7 @@ wxBitmap *wxBrush::GetStipple() const
 {
   if (m_refData == NULL)
   {
-    wxFAIL_MSG( "invalid brush" );
+    wxFAIL_MSG( _T("invalid brush") );
     return &wxNullBitmap;
   }