// if you are hiding the help, TRUE otherwise
virtual void DoGiveHelp(const wxString& text, bool show);
-#ifdef WXWIN_COMPATIBILITY_2_2
+#if WXWIN_COMPATIBILITY_2_2
// call this to simulate a menu command
bool Command(int winid) { return ProcessCommand(winid); }
#endif // WXWIN_COMPATIBILITY_2_2
m_gaugePos;
// obsolete functions, don't use
-#ifdef WXWIN_COMPATIBILITY_2_2
- bool GetProgressBar() const { return TRUE; }
+#if WXWIN_COMPATIBILITY_2_2
+ bool GetProgressBar() const { return true; }
#endif // WXWIN_COMPATIBILITY_2_2
protected:
m_gaugePos;
// obsolete functions, don't use
-#ifdef WXWIN_COMPATIBILITY_2_2
- bool GetProgressBar() const { return TRUE; }
+#if WXWIN_COMPATIBILITY_2_2
+ bool GetProgressBar() const { return true; }
#endif // WXWIN_COMPATIBILITY_2_2
protected:
( m_baseInfo2 && m_baseInfo2->IsKindOf(info) ) );
}
-#ifdef WXWIN_COMPATIBILITY_2_4
+#if WXWIN_COMPATIBILITY_2_4
// Initializes parent pointers and hash table for fast searching.
- wxDEPRECATED( static void InitializeClasses() );
+ wxDEPRECATED( static void InitializeClasses() );
// Cleans up hash table used for fast searching.
- wxDEPRECATED( static void CleanUpClasses() );
+ wxDEPRECATED( static void CleanUpClasses() );
#endif
static void CleanUp();
WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxChar *name);
-#ifdef WXWIN_COMPATIBILITY_2_4
+#if WXWIN_COMPATIBILITY_2_4
inline void wxClassInfo::InitializeClasses() {}
inline void wxClassInfo::CleanUpClasses() {}
#endif
virtual void SetBorder(int border) = 0;
// wxWizard should be created using "new wxWizard" now, not with Create()
-#ifdef WXWIN_COMPATIBILITY_2_2
+#if WXWIN_COMPATIBILITY_2_2
static wxWizard *Create(wxWindow *parent,
int id = -1,
const wxString& title = wxEmptyString,
// gets the streaming callback from this class or any superclass
wxObjectStreamingCallback GetStreamingCallback() const ;
-#ifdef WXWIN_COMPATIBILITY_2_4
+#if WXWIN_COMPATIBILITY_2_4
// Initializes parent pointers and hash table for fast searching.
- wxDEPRECATED( static void InitializeClasses() );
+ wxDEPRECATED( static void InitializeClasses() );
// Cleans up hash table used for fast searching.
- wxDEPRECATED( static void CleanUpClasses() );
+ wxDEPRECATED( static void CleanUpClasses() );
#endif
- static void CleanUp();
+ static void CleanUp();
// returns the first property
const wxPropertyInfo* GetFirstProperty() const { return m_firstProperty ; }
// our public interface
// ----------------------------------------------------------------------------
-#ifdef WXWIN_COMPATIBILITY_2_2
+#if WXWIN_COMPATIBILITY_2_2
/* static */
wxWizard *wxWizardBase::Create(wxWindow *parent,