X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94923d51273779d3314034f77dccd348c965dcfe..c220a8ec4fcb4e7b620e88c76b0a84be4554b28b:/src/common/datacmn.cpp?ds=sidebyside diff --git a/src/common/datacmn.cpp b/src/common/datacmn.cpp index 7fc2803947..8be0c34050 100644 --- a/src/common/datacmn.cpp +++ b/src/common/datacmn.cpp @@ -1,11 +1,11 @@ /////////////////////////////////////////////////////////////////////////////// // Name: common/datacmn.cpp -// Purpose: contains definitions of various global wxWindows variables +// Purpose: contains definitions of various global wxWidgets variables // Author: Vadim Zeitlin // Modified by: // Created: 10.04.03 (from src/*/data.cpp files) // RCS-ID: $Id$ -// Copyright: (c) 1997-2002 wxWindows development team +// Copyright: (c) 1997-2002 wxWidgets development team // License: wxWindows license /////////////////////////////////////////////////////////////////////////////// @@ -36,8 +36,6 @@ // Useful buffer, initialized in wxCommonInit wxChar *wxBuffer = NULL; -#if wxUSE_GUI - // Windows List wxWindowList wxTopLevelWindows; @@ -139,6 +137,7 @@ WXDLLEXPORT_DATA(const wxChar *) wxEnhDialogNameStr = wxT("Shell"); WXDLLEXPORT_DATA(const wxChar *) wxToolBarNameStr = wxT("toolbar"); WXDLLEXPORT_DATA(const wxChar *) wxStatusLineNameStr = wxT("status_line"); WXDLLEXPORT_DATA(const wxChar *) wxGetTextFromUserPromptStr = wxT("Input Text"); +WXDLLEXPORT_DATA(const wxChar *) wxGetPasswordFromUserPromptStr = wxT("Enter Password"); WXDLLEXPORT_DATA(const wxChar *) wxMessageBoxCaptionStr = wxT("Message"); WXDLLEXPORT_DATA(const wxChar *) wxFileSelectorPromptStr = wxT("Select a file"); WXDLLEXPORT_DATA(const wxChar *) wxFileSelectorDefaultWildcardStr = @@ -157,7 +156,6 @@ WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT"); #endif -const wxSize wxDefaultSize(-1, -1); -const wxPoint wxDefaultPosition(-1, -1); +const wxSize wxDefaultSize(wxDefaultCoord, wxDefaultCoord); +const wxPoint wxDefaultPosition(wxDefaultCoord, wxDefaultCoord); -#endif // wxUSE_GUI