corrected WXWIN_COMPATIBILITY conditional tests

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-07-07 11:23:24 +00:00
parent 4c41981b8e
commit 1d79bd3eaf
5 changed files with 9 additions and 9 deletions

View File

@@ -105,7 +105,7 @@ public:
void OnListBoxDClick(wxCommandEvent& event);
// old, deprecated methods
#ifdef WXWIN_COMPATIBILITY_2
#if WXWIN_COMPATIBILITY_2
wxSingleChoiceDialog(wxWindow *parent,
const wxString& message,
const wxString& caption,
@@ -271,7 +271,7 @@ WXDLLEXPORT size_t wxGetMultipleChoices(wxArrayInt& selections,
// deprecated
// ----------------------------------------------------------------------------
#ifdef WXWIN_COMPATIBILITY_2
#if WXWIN_COMPATIBILITY_2
WXDLLEXPORT wxString wxGetSingleChoice(const wxString& message,
const wxString& caption,

View File

@@ -117,7 +117,7 @@ public:
const wxString& wildcard = wxEmptyString,
bool details = FALSE);
#ifdef WXWIN_COMPATIBILITY_2
#if WXWIN_COMPATIBILITY_2
// deprecated
wxList *GetList(const wxString& wildcard, bool details = FALSE);
#endif // WXWIN_COMPATIBILITY_2

View File

@@ -87,7 +87,7 @@ public:
int GetNextItem(int item, wxDirection dir, long style) const;
// for compatibility only, don't use these methods in new code!
#ifdef WXWIN_COMPATIBILITY_2_2
#if WXWIN_COMPATIBILITY_2_2
int Number() const { return GetCount(); }
wxString GetLabel(int n) const { return GetString(n); }
void SetLabel(int n, const wxString& label) { SetString(n, label); }

View File

@@ -884,7 +884,7 @@ int wxFTP::GetFileSize(const wxString& fileName)
}
#ifdef WXWIN_COMPATIBILITY_2
#if WXWIN_COMPATIBILITY_2
// deprecated
wxList *wxFTP::GetList(const wxString& wildcard, bool details)
{

View File

@@ -129,7 +129,7 @@ wxString wxGetSingleChoice( const wxString& message,
return res;
}
#ifdef WXWIN_COMPATIBILITY_2
#if WXWIN_COMPATIBILITY_2
// Overloaded for backward compatibility
wxString wxGetSingleChoice( const wxString& message,
const wxString& caption,
@@ -186,7 +186,7 @@ int wxGetSingleChoiceIndex( const wxString& message,
return res;
}
#ifdef WXWIN_COMPATIBILITY_2
#if WXWIN_COMPATIBILITY_2
// Overloaded for backward compatibility
int wxGetSingleChoiceIndex( const wxString& message,
const wxString& caption,
@@ -244,7 +244,7 @@ void *wxGetSingleChoiceData( const wxString& message,
return res;
}
#ifdef WXWIN_COMPATIBILITY_2
#if WXWIN_COMPATIBILITY_2
// Overloaded for backward compatibility
void *wxGetSingleChoiceData( const wxString& message,
const wxString& caption,
@@ -384,7 +384,7 @@ wxSingleChoiceDialog::wxSingleChoiceDialog(wxWindow *parent,
Create(parent, message, caption, n, choices, clientData, style);
}
#ifdef WXWIN_COMPATIBILITY_2
#if WXWIN_COMPATIBILITY_2
wxSingleChoiceDialog::wxSingleChoiceDialog(wxWindow *parent,
const wxString& message,