]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/textctrl.h
no need for !wxUSE_GUI test anymore
[wxWidgets.git] / include / wx / msw / textctrl.h
index 76e578e49f3131b125f80ff53482a8240af98af6..9fdc395d7f6a78cbf992f820c40956a9c0d326a0 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TEXTCTRL_H_
 #define _WX_TEXTCTRL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "textctrl.h"
 #endif
 
@@ -251,7 +251,7 @@ protected:
 
 private:
     DECLARE_EVENT_TABLE()
-    DECLARE_DYNAMIC_CLASS(wxTextCtrl)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxTextCtrl)
 
     wxMenu* m_privateContextMenu;