]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/button.cpp
Blind patch for SetFont() in Unicode mode for wxX11.
[wxWidgets.git] / src / palmos / button.cpp
index a0d0f088a541050a526878fdc1bc12632110792b..f8ec74481c13eba54fddd0d3eb7104f65fc6574f 100644 (file)
     #include "wx/dcscreen.h"
     #include "wx/frame.h"
     #include "wx/dialog.h"
-    #include "wx/stockitem.h"
 #endif
 
+#include "wx/stockitem.h"
+
 // ----------------------------------------------------------------------------
 // macros
 // ----------------------------------------------------------------------------
@@ -168,7 +169,7 @@ bool wxButton::Create(wxWindow *parent,
     // take the stock label
     wxString palmLabel = label;
     if( palmLabel.empty() && wxIsStockID(id) )
-        palmLabel = wxGetStockLabel(id);
+        palmLabel = wxGetStockLabel(id, false);
 
     if(!wxControl::Create(parent, id, palmPos, palmSize, style, validator, name))
         return false;