X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94923d51273779d3314034f77dccd348c965dcfe..0d8fc895d49d66175b4c6b5680ee2ef5cf2f01ce:/src/common/datacmn.cpp diff --git a/src/common/datacmn.cpp b/src/common/datacmn.cpp index 7fc2803947..d2b5ba4544 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; @@ -157,7 +155,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