Latest updates from SciTech code tree including numerous warning fixes for

the Watcom and other compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kendall Bennett
2001-07-31 17:50:16 +00:00
parent ac6f6ffccf
commit d699f48ba3
25 changed files with 251 additions and 135 deletions

View File

@@ -66,8 +66,8 @@ public:
public:
// static function to retrieve any variable avaliable
static bool GetValue(const wxString &cls);
};
static bool FindValue(const wxString &cls);
};
/*--------------------------------- MACROS --------------------------------*/
@@ -82,14 +82,13 @@ public:
IMPLEMENT_DYNAMIC_CLASS(wxIfElseVariable##name##, wxIfElseVariable); \
bool wxIfElseVariable##name :: GetValue() const {
#define END_IFELSE_VARIABLE(name, returnval) \
#define END_IFELSE_VARIABLE(returnval) \
return returnval; \
}
#define IFELSE_VARIABLE(name, state) \
BEGIN_IFELSE_VARIABLE(##name##); \
END_IFELSE_VARIABLE(##name##, bool (state))
END_IFELSE_VARIABLE(bool (state))
#endif // __WX_IFELSEVAR_H