]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/textctrl.h
try to deal more gracefully (than simply not showing anything at all) with invalid...
[wxWidgets.git] / include / wx / gtk / textctrl.h
index b9b793eb19c62941410a4d3056b8f8476445b2cf..19c3ca90102b3a8b8e0be7fed4058416eddb436a 100644 (file)
@@ -191,6 +191,13 @@ private:
     // change the font for everything in this control
     void ChangeFontGlobally();
 
+    // get the encoding which is used in this control: this looks at our font
+    // and default style but not the current style (i.e. the style for the
+    // current position); returns wxFONTENCODING_SYSTEM if we have no specific
+    // encoding
+    wxFontEncoding GetTextEncoding() const;
+
+
     GtkWidget  *m_text;
 
     bool        m_modified:1;