Applied patch [ 738821 ] Allow more features to be turned off

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-23 18:59:07 +00:00
parent 3443393889
commit d726047819
12 changed files with 52 additions and 10 deletions

View File

@@ -35,11 +35,11 @@ public:
void SetReturnCode(int returnCode) { m_returnCode = returnCode; }
int GetReturnCode() const { return m_returnCode; }
#if wxUSE_STATTEXT && wxUSE_TEXTCTRL
#if wxUSE_STATTEXT // && wxUSE_TEXTCTRL
// splits text up at newlines and places the
// lines into a vertical wxBoxSizer
wxSizer *CreateTextSizer( const wxString &message );
#endif // wxUSE_STATTEXT && wxUSE_TEXTCTRL
#endif // wxUSE_STATTEXT // && wxUSE_TEXTCTRL
#if wxUSE_BUTTON
// places buttons into a horizontal wxBoxSizer

View File

@@ -16,6 +16,7 @@
#pragma interface "textdlgg.h"
#endif
#if wxUSE_TEXTDLG
#include "wx/defs.h"
#include "wx/dialog.h"
@@ -88,5 +89,7 @@ wxGetPasswordFromUser(const wxString& message,
const wxString& default_value = wxEmptyString,
wxWindow *parent = (wxWindow *) NULL);
#endif
// wxUSE_TEXTDLG
#endif
// __TEXTDLGH_G__

View File

@@ -18,7 +18,7 @@
#include "wx/defs.h"
#if wxUSE_VALIDATORS
#if wxUSE_VALIDATORS && wxUSE_TEXTCTRL
#include "wx/textctrl.h"
#include "wx/validate.h"
@@ -106,7 +106,7 @@ private:
};
#endif
// wxUSE_VALIDATORS
// wxUSE_VALIDATORS && wxUSE_TEXTCTRL
#endif
// _WX_VALTEXTH__