- class wxIfElseVariable##name : public wxIfElseVariable { \
- private: \
- DECLARE_DYNAMIC_CLASS(wxIfElseVariable##name##); \
- public: \
- wxIfElseVariable##name##() : wxIfElseVariable() {} \
- virtual bool GetValue() const; \
- }; \
- IMPLEMENT_DYNAMIC_CLASS(wxIfElseVariable##name##, wxIfElseVariable); \
- bool wxIfElseVariable##name :: GetValue() const {
-
-#define END_IFELSE_VARIABLE(name, returnval) \
+bool wxIfElseVariableFn##name(); \
+wxIfElseVariable wxIfElseVariable##name(#name,wxIfElseVariableFn##name); \
+bool wxIfElseVariableFn##name() { \
+
+#define END_IFELSE_VARIABLE(returnval) \