]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textctrl.h
Ticket #9641: wxBitmapComboBox_SetFont.patch, making it public
[wxWidgets.git] / include / wx / textctrl.h
index 5ace5a3d1936c8ab164ad29cd148526d478cecfe..0aae25a47947bbdfbedadac82f17e47b81b5ede5 100644 (file)
@@ -615,9 +615,10 @@ public:
     wxTextCtrl& operator<<(const wxString& s);
     wxTextCtrl& operator<<(int i);
     wxTextCtrl& operator<<(long i);
-    wxTextCtrl& operator<<(float f);
+    wxTextCtrl& operator<<(float f) { return *this << double(f); }
     wxTextCtrl& operator<<(double d);
-    wxTextCtrl& operator<<(const wxChar c);
+    wxTextCtrl& operator<<(char c) { return *this << wxString(c); }
+    wxTextCtrl& operator<<(wchar_t c) { return *this << wxString(c); }
 
     // insert the character which would have resulted from this key event,
     // return true if anything has been inserted
@@ -687,7 +688,7 @@ protected:
 #elif defined(__WXGTK__)
     #include "wx/gtk1/textctrl.h"
 #elif defined(__WXMAC__)
-    #include "wx/mac/textctrl.h"
+    #include "wx/osx/textctrl.h"
 #elif defined(__WXCOCOA__)
     #include "wx/cocoa/textctrl.h"
 #elif defined(__WXPM__)