]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
Some more NanoX compile fixes
[wxWidgets.git] / src / gtk / textctrl.cpp
index 48cb8c1e774f126babfdbbe9de5ccb291b6348df..8dff685433d179120daa1479f3e8dbddb5362fe4 100644 (file)
@@ -1004,7 +1004,7 @@ bool wxTextCtrl::SetFont( const wxFont &font )
 {
     wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") );
 
 {
     wxCHECK_MSG( m_text != NULL, FALSE, wxT("invalid text ctrl") );
 
-    if ( !wxWindowBase::SetFont(font) )
+    if ( !wxTextCtrlBase::SetFont(font) )
     {
         // font didn't change, nothing to do
         return FALSE;
     {
         // font didn't change, nothing to do
         return FALSE;