]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valtext.h
Build fix after recent changes in wxRendererNative class.
[wxWidgets.git] / include / wx / valtext.h
index 322eca831f06ba387ee355ee6311753568495adb..394c160fcfe71aa482ef6655b9d3914f460b0ee3 100644 (file)
@@ -53,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
@@ -102,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;
     }