]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textctrl.h
Implement wxChoice including sorting and client data
[wxWidgets.git] / include / wx / textctrl.h
index 9e12d0a49ddc81aa60e0448e0878b9937ed879b3..60107fca4fcfc5f3d4f049bb845d61ac579cb818 100644 (file)
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "textctrlbase.h"
 #endif
 
@@ -337,11 +337,6 @@ public:
     // do the window-specific processing after processing the update event
     virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) ;
 
-    // obsolete functions
-#if WXWIN_COMPATIBILITY
-    bool Modified() const { return IsModified(); }
-#endif
-
 protected:
     // the name of the last file loaded with LoadFile() which will be used by
     // SaveFile() by default
@@ -349,6 +344,8 @@ protected:
 
     // the text style which will be used for any new text added to the control
     wxTextAttr m_defaultStyle;
+
+    DECLARE_NO_COPY_CLASS(wxTextCtrlBase)
 };
 
 // ----------------------------------------------------------------------------
@@ -415,7 +412,7 @@ protected:
          m_end;
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxTextUrlEvent)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxTextUrlEvent)
 
 public:
     // for wxWin RTTI only, don't use