X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/621793f45e003588e32f7a6ca10cd238f7c96fe6..642d2dc86b2a797ef37f8fc94c1b7b955dda9ba3:/src/motif/data.cpp diff --git a/src/motif/data.cpp b/src/motif/data.cpp index 94cbc7eaf9..0387862c7b 100644 --- a/src/motif/data.cpp +++ b/src/motif/data.cpp @@ -6,7 +6,7 @@ // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -14,15 +14,12 @@ #endif #include "wx/wx.h" -#include "wx/postscrp.h" +#include "wx/dcps.h" #define _MAXPATHLEN 500 -// Useful buffer, initialized in CommonInit -char *wxBuffer = NULL; - // Windows List -wxList wxTopLevelWindows; +wxWindowList wxTopLevelWindows; // List of windows pending deletion wxList wxPendingDelete; @@ -116,33 +113,23 @@ const char *wxButtonBarNameStr = "buttonbar"; const char *wxEnhDialogNameStr = "Shell"; const char *wxToolBarNameStr = "toolbar"; const char *wxStatusLineNameStr = "status_line"; +#if 0 // this is defined in string.cpp const char *wxEmptyString = ""; +#endif const char *wxGetTextFromUserPromptStr = "Input Text"; const char *wxMessageBoxCaptionStr = "Message"; const char *wxFileSelectorPromptStr = "Select a file"; const char *wxFileSelectorDefaultWildcardStr = "*.*"; const char *wxInternalErrorStr = "wxWindows Internal Error"; const char *wxFatalErrorStr = "wxWindows Fatal Error"; +const char *wxDirDialogNameStr = "wxDirCtrl"; +const char *wxDirDialogDefaultFolderStr = "/"; +const wxChar *wxTreeCtrlNameStr = wxT("wxTreeCtrl"); // See wx/utils.h const char *wxFloatToStringStr = "%.2f"; const char *wxDoubleToStringStr = "%.2f"; -#if wxUSE_POSTSCRIPT -wxPrintPaperDatabase* wxThePrintPaperDatabase = NULL; -#endif - -#if wxUSE_SHARED_LIBRARY -///// Event tables (also must be in one, statically-linked file for shared libraries) - -// This is the base, wxEvtHandler 'bootstrap' code which is expanded manually here -const wxEventTable *wxEvtHandler::GetEventTable() const { return &wxEvtHandler::sm_eventTable; } - -const wxEventTable wxEvtHandler::sm_eventTable = - { NULL, &wxEvtHandler::sm_eventTableEntries[0] }; - -const wxEventTableEntry wxEvtHandler::sm_eventTableEntries[] = { { 0, 0, 0, NULL } }; -#endif const wxSize wxDefaultSize(-1, -1); const wxPoint wxDefaultPosition(-1, -1);