]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/propgrid/props.h
going private for m_peer to give a foundation for better encapsulation
[wxWidgets.git] / include / wx / propgrid / props.h
index 84f7d5191caf4caa03f6ff614fd1010ceb563bd3..77470cda2c99d5c9bc7ea0bbf2adf3865d145bbf 100644 (file)
@@ -27,6 +27,7 @@ class wxPGArrayEditorDialog;
 #include "wx/textctrl.h"
 #include "wx/button.h"
 #include "wx/listbox.h"
+#include "wx/valtext.h"
 
 // -----------------------------------------------------------------------
 
@@ -148,7 +149,7 @@ enum wxPGNumericValidationConstants
 /**
     A more comprehensive numeric validator class.
 */
-class wxNumericPropertyValidator : public wxTextValidator
+class WXDLLIMPEXP_PROPGRID wxNumericPropertyValidator : public wxTextValidator
 {
 public:
     enum NumericType
@@ -996,7 +997,7 @@ public:
     void SetCustomButton( const wxString& custBtText,
                           wxArrayStringProperty* pcc )
     {
-        if ( custBtText.length() )
+        if ( !custBtText.empty() )
         {
             EnableCustomNewAction();
             m_pCallingClass = pcc;