]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/valgen.h
added wxCB_READONLY
[wxWidgets.git] / include / wx / valgen.h
index 88e9b88bb0a3714509222187e4e55465a5aa6020..8a43952b6079956d02b7f838bc12d4dabdf4ac87 100644 (file)
@@ -38,7 +38,7 @@ public:
 
   // Called when the value in the window must be validated.
   // This function can pop up an error message.
-  virtual bool Validate(wxWindow *parent)      {return true;}
+  virtual bool Validate(wxWindow *parent)      {return TRUE;}
 
   // Called to transfer data to the window
   virtual bool TransferToWindow(void);