]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/data.cpp
Fix for bug #511057
[wxWidgets.git] / src / os2 / data.cpp
index d899b9771a21c2979918d1e9716a30f67754e9e6..be9f7d242824012b8987e3dacf0f7f61f8c9dca5 100644 (file)
@@ -36,12 +36,6 @@ wxCursor *g_globalCursor = NULL;
 // Message Strings for Internationalization
 char **wx_msg_str = (char**)NULL;
 
-// Custom OS version, as optionally placed in wx.ini/.wxrc
-// Currently this can be Win95, Windows, Win32s, WinNT.
-// For some systems, you can't tell until run-time what services you
-// have. See wxGetOsVersion, which uses this string if present.
-char *wxOsVersion = NULL;
-
 int wxPageNumber;
 
 // GDI Object Lists
@@ -102,44 +96,61 @@ wxBrush  wxNullBrush;
 wxPalette wxNullPalette;
 wxFont   wxNullFont;
 wxColour wxNullColour;
+wxNativeFontInfo wxNullNativeFontInfo;
 
+//
 // Default window names
-const wxChar *wxButtonNameStr = wxT("button");
-const wxChar *wxCanvasNameStr = wxT("canvas");
-const wxChar *wxCheckBoxNameStr = wxT("check");
-const wxChar *wxChoiceNameStr = wxT("choice");
-const wxChar *wxComboBoxNameStr = wxT("comboBox");
-const wxChar *wxDialogNameStr = wxT("dialog");
-const wxChar *wxFrameNameStr = wxT("frame");
-const wxChar *wxGaugeNameStr = wxT("gauge");
-const wxChar *wxStaticBoxNameStr = wxT("groupBox");
-const wxChar *wxListBoxNameStr = wxT("listBox");
-const wxChar *wxStaticTextNameStr = wxT("message");
-const wxChar *wxStaticBitmapNameStr = wxT("message");
-const wxChar *wxMultiTextNameStr = wxT("multitext");
-const wxChar *wxPanelNameStr = wxT("panel");
-const wxChar *wxRadioBoxNameStr = wxT("radioBox");
-const wxChar *wxRadioButtonNameStr = wxT("radioButton");
-const wxChar *wxBitmapRadioButtonNameStr = wxT("radioButton");
-const wxChar *wxScrollBarNameStr = wxT("scrollBar");
-const wxChar *wxSliderNameStr = wxT("slider");
-const wxChar *wxStaticNameStr = wxT("static");
-const wxChar *wxTextCtrlWindowNameStr = wxT("textWindow");
-const wxChar *wxTextCtrlNameStr = wxT("text");
-const wxChar *wxVirtListBoxNameStr = wxT("virtListBox");
-const wxChar *wxButtonBarNameStr = wxT("buttonbar");
-const wxChar *wxEnhDialogNameStr = wxT("Shell");
-const wxChar *wxToolBarNameStr = wxT("toolbar");
-const wxChar *wxStatusLineNameStr = wxT("status_line");
-const wxChar *wxGetTextFromUserPromptStr = wxT("Input Text");
-const wxChar *wxMessageBoxCaptionStr = wxT("Message");
-const wxChar *wxFileSelectorPromptStr = wxT("Select a file");
-const wxChar *wxFileSelectorDefaultWildcardStr = wxT("*.*");
-const wxChar *wxInternalErrorStr = wxT("wxWindows Internal Error");
-const wxChar *wxFatalErrorStr = wxT("wxWindows Fatal Error");
-const wxChar *wxTreeCtrlNameStr = wxT("treeCtrl");
-const wxChar *wxDirDialogNameStr = wxT("wxDirCtrl");
-const wxChar *wxDirDialogDefaultFolderStr = wxT("/");
+//
+const wxChar*                       wxButtonNameStr                  = wxT("button");
+const wxChar*                       wxCanvasNameStr                  = wxT("canvas");
+const wxChar*                       wxCheckBoxNameStr                = wxT("check");
+const wxChar*                       wxChoiceNameStr                  = wxT("choice");
+const wxChar*                       wxComboBoxNameStr                = wxT("comboBox");
+const wxChar*                       wxDialogNameStr                  = wxT("dialog");
+const wxChar*                       wxFrameNameStr                   = wxT("frame");
+const wxChar*                       wxGaugeNameStr                   = wxT("gauge");
+const wxChar*                       wxStaticBoxNameStr               = wxT("groupBox");
+const wxChar*                       wxListBoxNameStr                 = wxT("listBox");
+const wxChar*                       wxStaticTextNameStr              = wxT("message");
+const wxChar*                       wxStaticBitmapNameStr            = wxT("message");
+const wxChar*                       wxMultiTextNameStr               = wxT("multitext");
+const wxChar*                       wxPanelNameStr                   = wxT("panel");
+const wxChar*                       wxRadioBoxNameStr                = wxT("radioBox");
+const wxChar*                       wxRadioButtonNameStr             = wxT("radioButton");
+const wxChar*                       wxBitmapRadioButtonNameStr       = wxT("radioButton");
+const wxChar*                       wxScrollBarNameStr               = wxT("scrollBar");
+const wxChar*                       wxSliderNameStr                  = wxT("slider");
+const wxChar*                       wxStaticNameStr                  = wxT("static");
+const wxChar*                       wxTextCtrlWindowNameStr          = wxT("textWindow");
+const wxChar*                       wxTextCtrlNameStr                = wxT("text");
+const wxChar*                       wxVirtListBoxNameStr             = wxT("virtListBox");
+const wxChar*                       wxButtonBarNameStr               = wxT("buttonbar");
+const wxChar*                       wxEnhDialogNameStr               = wxT("Shell");
+const wxChar*                       wxToolBarNameStr                 = wxT("toolbar");
+const wxChar*                       wxStatusLineNameStr              = wxT("status_line");
+const wxChar*                       wxGetTextFromUserPromptStr       = wxT("Input Text");
+const wxChar*                       wxMessageBoxCaptionStr           = wxT("Message");
+const wxChar*                       wxFileSelectorPromptStr          = wxT("Select a file");
+const wxChar*                       wxFileSelectorDefaultWildcardStr = wxT("*.*");
+const wxChar*                       wxInternalErrorStr               = wxT("wxWindows Internal Error");
+const wxChar*                       wxFatalErrorStr                  = wxT("wxWindows Fatal Error");
+const wxChar*                       wxTreeCtrlNameStr                = wxT("treeCtrl");
+const wxChar*                       wxDirDialogNameStr               = wxT("wxDirCtrl");
+const wxChar*                       wxDirDialogDefaultFolderStr      = wxT("/");
+
+//
+// Class names
+//
+const wxChar*                       wxFrameClassName                 = wxT("wxFrameClass");
+const wxChar*                       wxFrameClassNameNoRedraw         = wxT("wxFrameClassNR");
+const wxChar*                       wxMDIFrameClassName              = wxT("wxMDIFrameClass");
+const wxChar*                       wxMDIFrameClassNameNoRedraw      = wxT("wxMDIFrameClassNR");
+const wxChar*                       wxMDIChildFrameClassName         = wxT("wxMDIChildFrameClass");
+const wxChar*                       wxMDIChildFrameClassNameNoRedraw = wxT("wxMDIChildFrameClassNR");
+const wxChar*                       wxPanelClassName                 = wxT("wxPanelClass");
+const wxChar*                       wxPanelClassNameNR               = wxT("wxPanelClassNR");
+const wxChar*                       wxCanvasClassName                = wxT("wxCanvasClass");
+const wxChar*                       wxCanvasClassNameNR              = wxT("wxCanvasClassNR");
 
 // See wx/utils.h
 const wxChar *wxFloatToStringStr = wxT("%.2f");