]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/applet/echovar.h
added missing refresh when changing focus in wxListCtrl, added test for it in the...
[wxWidgets.git] / contrib / include / wx / applet / echovar.h
index 27fb78cb6be3fc79e16ee22c4cfb60976811cae2..9fd5708f5c222bdf8b5f83466289121b1dd23d6b 100644 (file)
@@ -44,7 +44,7 @@ public:
     wxEchoVariable() : wxObject() {}
     ~wxEchoVariable() {}
        
-       /****************************************************************************
+    /****************************************************************************
     RETURNS:
     The boolean value of the variable
 
@@ -65,8 +65,8 @@ public:
 
 public:
     // static function to retrieve any variable avaliable
-    static wxString GetValue(const wxString &cls, const char *parms = NULL);
-};
+    static wxString FindValue(const wxString &cls, const char *parms = NULL);
+    };
        
 /*--------------------------------- MACROS --------------------------------*/
 
@@ -83,13 +83,13 @@ public:
     wxString wxEchoVariable##name :: GetValue(const char *parms) const {    \
     wxString _BEV_parm = wxString(parms);
 
-#define END_ECHO_VARIABLE(name, returnval)                                  \
+#define END_ECHO_VARIABLE(returnval)                                        \
     return returnval;                                                       \
     }
 
 #define STRING_ECHO_VARIABLE(name, string)                                  \
     BEGIN_ECHO_VARIABLE(##name##);                                          \
-    END_ECHO_VARIABLE(##name##, wxString(##string##))
+    END_ECHO_VARIABLE(wxString(##string##))
        
 #endif // __WX_ECHOVAR_H