X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..27d2dbbccadf25bb1d892fe1c4afbf74cf76bb36:/include/wx/generic/textdlgg.h diff --git a/include/wx/generic/textdlgg.h b/include/wx/generic/textdlgg.h index d6f29e986c..b255dd89a4 100644 --- a/include/wx/generic/textdlgg.h +++ b/include/wx/generic/textdlgg.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: textdlgg.h -// Purpose: wxStatusBar class +// Purpose: wxTextEntryDialog class // Author: Julian Smart // Modified by: // Created: 01/02/97 @@ -12,10 +12,11 @@ #ifndef __TEXTDLGH_G__ #define __TEXTDLGH_G__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textdlgg.h" #endif +#if wxUSE_TEXTDLG #include "wx/defs.h" #include "wx/dialog.h" @@ -27,7 +28,6 @@ class WXDLLEXPORT wxTextCtrl; WXDLLEXPORT_DATA(extern const wxChar*) wxGetTextFromUserPromptStr; -WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #define wxTextEntryDialogStyle (wxOK | wxCANCEL | wxCENTRE | wxWS_EX_VALIDATE_RECURSIVELY) @@ -78,9 +78,9 @@ wxGetTextFromUser(const wxString& message, const wxString& caption = wxGetTextFromUserPromptStr, const wxString& default_value = wxEmptyString, wxWindow *parent = (wxWindow *) NULL, - int x = -1, - int y = -1, - bool centre = TRUE); + int x = wxDefaultCoord, + int y = wxDefaultCoord, + bool centre = true); wxString WXDLLEXPORT wxGetPasswordFromUser(const wxString& message, @@ -88,5 +88,7 @@ wxGetPasswordFromUser(const wxString& message, const wxString& default_value = wxEmptyString, wxWindow *parent = (wxWindow *) NULL); +#endif + // wxUSE_TEXTDLG #endif // __TEXTDLGH_G__