]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
added wxConvUI which determines the conversion used for the UI elements and can be...
[wxWidgets.git] / include / wx / valtext.h
index 43879105ad5f9f309fedaa17764fbafddfa1a3eb..394c160fcfe71aa482ef6655b9d3914f460b0ee3 100644 (file)
 #ifndef _WX_VALTEXTH__
 #define _WX_VALTEXTH__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "valtext.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_VALIDATORS && wxUSE_TEXTCTRL
@@ -57,7 +53,7 @@ public:
     // Called to transfer data to the window
     virtual bool TransferToWindow();
 
-    // Called to transfer data to the window
+    // Called to transfer data from the window
     virtual bool TransferFromWindow();
 
     // ACCESSORS
@@ -106,8 +102,6 @@ protected:
                      _T("No window associated with validator") );
         wxCHECK_MSG( m_validatorWindow->IsKindOf(CLASSINFO(wxTextCtrl)), false,
                      _T("wxTextValidator is only for wxTextCtrl's") );
-        wxCHECK_MSG( m_stringValue, false,
-                     _T("No variable storage for validator") );
 
         return true;
     }