]> git.saurik.com Git - wxWidgets.git/commitdiff
correct access for virtual
authorPaul Cornett <paulcor@bullseye.com>
Sat, 14 Oct 2006 16:50:04 +0000 (16:50 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 14 Oct 2006 16:50:04 +0000 (16:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/textctrl.h

index 8cf1c6957083b4359b7153c62201f4f78c9828d7..6d73a76004ecabb36ed44924bfb0c85eb5003dee 100644 (file)
@@ -174,6 +174,9 @@ public:
     static wxVisualAttributes
     GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
 
+    // has the control been frozen by Freeze()?
+    bool IsFrozen() const { return m_frozenness > 0; }
+
 protected:
     virtual wxSize DoGetBestSize() const;
     virtual void DoApplyWidgetStyle(GtkRcStyle *style);
@@ -186,9 +189,6 @@ protected:
     // override this and return true.
     virtual bool UseGTKStyleBase() const { return true; }
 
-    // has the control been frozen by Freeze()?
-    bool IsFrozen() const { return m_frozenness > 0; }
-
     virtual void DoSetValue(const wxString &value, int flags = 0);
 
 private: