X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bcd846ea7191d33d86e28ee1927b461c54d2fb8f..db6d3918916e601fe06b9fbffc2969d57e5e68f2:/src/common/datacmn.cpp diff --git a/src/common/datacmn.cpp b/src/common/datacmn.cpp index 6c306155e4..1b75320de4 100644 --- a/src/common/datacmn.cpp +++ b/src/common/datacmn.cpp @@ -108,55 +108,55 @@ wxFont wxNullFont; wxColour wxNullColour; // Default window names -WXDLLEXPORT_DATA(const wxChar *) wxControlNameStr = wxT("control"); -WXDLLEXPORT_DATA(const wxChar *) wxButtonNameStr = wxT("button"); -WXDLLEXPORT_DATA(const wxChar *) wxButtonBarNameStr = wxT("buttonbar"); -WXDLLEXPORT_DATA(const wxChar *) wxCanvasNameStr = wxT("canvas"); -WXDLLEXPORT_DATA(const wxChar *) wxCheckBoxNameStr = wxT("check"); -WXDLLEXPORT_DATA(const wxChar *) wxChoiceNameStr = wxT("choice"); -WXDLLEXPORT_DATA(const wxChar *) wxComboBoxNameStr = wxT("comboBox"); -WXDLLEXPORT_DATA(const wxChar *) wxDialogNameStr = wxT("dialog"); -WXDLLEXPORT_DATA(const wxChar *) wxFrameNameStr = wxT("frame"); -WXDLLEXPORT_DATA(const wxChar *) wxGaugeNameStr = wxT("gauge"); -WXDLLEXPORT_DATA(const wxChar *) wxStaticBoxNameStr = wxT("groupBox"); -WXDLLEXPORT_DATA(const wxChar *) wxListBoxNameStr = wxT("listBox"); -WXDLLEXPORT_DATA(const wxChar *) wxListCtrlNameStr = wxT("listCtrl"); -WXDLLEXPORT_DATA(const wxChar *) wxStaticTextNameStr = wxT("staticText"); -WXDLLEXPORT_DATA(const wxChar *) wxStaticBitmapNameStr = wxT("staticBitmap"); -WXDLLEXPORT_DATA(const wxChar *) wxMultiTextNameStr = wxT("multitext"); -WXDLLEXPORT_DATA(const wxChar *) wxNotebookNameStr = wxT("notebook"); -WXDLLEXPORT_DATA(const wxChar *) wxPanelNameStr = wxT("panel"); -WXDLLEXPORT_DATA(const wxChar *) wxRadioBoxNameStr = wxT("radioBox"); -WXDLLEXPORT_DATA(const wxChar *) wxRadioButtonNameStr = wxT("radioButton"); -WXDLLEXPORT_DATA(const wxChar *) wxBitmapRadioButtonNameStr = wxT("radioButton"); -WXDLLEXPORT_DATA(const wxChar *) wxScrollBarNameStr = wxT("scrollBar"); -WXDLLEXPORT_DATA(const wxChar *) wxSliderNameStr = wxT("slider"); -WXDLLEXPORT_DATA(const wxChar *) wxStaticNameStr = wxT("static"); -WXDLLEXPORT_DATA(const wxChar *) wxStatusLineNameStr = wxT("status_line"); -WXDLLEXPORT_DATA(const wxChar *) wxTextCtrlWindowNameStr = wxT("textWindow"); -WXDLLEXPORT_DATA(const wxChar *) wxTextCtrlNameStr = wxT("text"); -WXDLLEXPORT_DATA(const wxChar *) wxTreeCtrlNameStr = wxT("treeCtrl"); -WXDLLEXPORT_DATA(const wxChar *) wxEnhDialogNameStr = wxT("Shell"); -WXDLLEXPORT_DATA(const wxChar *) wxToolBarNameStr = wxT("toolbar"); -WXDLLEXPORT_DATA(const wxChar *) wxVirtListBoxNameStr = wxT("virtListBox"); -WXDLLEXPORT_DATA(const wxChar *) wxDataViewCtrlNameStr = wxT("dataviewCtrl"); +extern WXDLLEXPORT_DATA(const wxChar) wxControlNameStr[] = wxT("control"); +extern WXDLLEXPORT_DATA(const wxChar) wxButtonNameStr[] = wxT("button"); +extern WXDLLEXPORT_DATA(const wxChar) wxButtonBarNameStr[] = wxT("buttonbar"); +extern WXDLLEXPORT_DATA(const wxChar) wxCanvasNameStr[] = wxT("canvas"); +extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[] = wxT("check"); +extern WXDLLEXPORT_DATA(const wxChar) wxChoiceNameStr[] = wxT("choice"); +extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[] = wxT("comboBox"); +extern WXDLLEXPORT_DATA(const wxChar) wxDialogNameStr[] = wxT("dialog"); +extern WXDLLEXPORT_DATA(const wxChar) wxFrameNameStr[] = wxT("frame"); +extern WXDLLEXPORT_DATA(const wxChar) wxGaugeNameStr[] = wxT("gauge"); +extern WXDLLEXPORT_DATA(const wxChar) wxStaticBoxNameStr[] = wxT("groupBox"); +extern WXDLLEXPORT_DATA(const wxChar) wxListBoxNameStr[] = wxT("listBox"); +extern WXDLLEXPORT_DATA(const wxChar) wxListCtrlNameStr[] = wxT("listCtrl"); +extern WXDLLEXPORT_DATA(const wxChar) wxStaticTextNameStr[] = wxT("staticText"); +extern WXDLLEXPORT_DATA(const wxChar) wxStaticBitmapNameStr[] = wxT("staticBitmap"); +extern WXDLLEXPORT_DATA(const wxChar) wxMultiTextNameStr[] = wxT("multitext"); +extern WXDLLEXPORT_DATA(const wxChar) wxNotebookNameStr[] = wxT("notebook"); +extern WXDLLEXPORT_DATA(const wxChar) wxPanelNameStr[] = wxT("panel"); +extern WXDLLEXPORT_DATA(const wxChar) wxRadioBoxNameStr[] = wxT("radioBox"); +extern WXDLLEXPORT_DATA(const wxChar) wxRadioButtonNameStr[] = wxT("radioButton"); +extern WXDLLEXPORT_DATA(const wxChar) wxBitmapRadioButtonNameStr[] = wxT("radioButton"); +extern WXDLLEXPORT_DATA(const wxChar) wxScrollBarNameStr[] = wxT("scrollBar"); +extern WXDLLEXPORT_DATA(const wxChar) wxSliderNameStr[] = wxT("slider"); +extern WXDLLEXPORT_DATA(const wxChar) wxStaticNameStr[] = wxT("static"); +extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[] = wxT("status_line"); +extern WXDLLEXPORT_DATA(const wxChar) wxTextCtrlWindowNameStr[] = wxT("textWindow"); +extern WXDLLEXPORT_DATA(const wxChar) wxTextCtrlNameStr[] = wxT("text"); +extern WXDLLEXPORT_DATA(const wxChar) wxTreeCtrlNameStr[] = wxT("treeCtrl"); +extern WXDLLEXPORT_DATA(const wxChar) wxEnhDialogNameStr[] = wxT("Shell"); +extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[] = wxT("toolbar"); +extern WXDLLEXPORT_DATA(const wxChar) wxVirtListBoxNameStr[] = wxT("virtListBox"); +extern WXDLLEXPORT_DATA(const wxChar) wxDataViewCtrlNameStr[] = wxT("dataviewCtrl"); // Default messages -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"); +extern WXDLLEXPORT_DATA(const wxChar) wxGetTextFromUserPromptStr[] = wxT("Input Text"); +extern WXDLLEXPORT_DATA(const wxChar) wxGetPasswordFromUserPromptStr[] = wxT("Enter Password"); +extern WXDLLEXPORT_DATA(const wxChar) wxMessageBoxCaptionStr[] = wxT("Message"); +extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorPromptStr[] = wxT("Select a file"); // Other default strings -WXDLLEXPORT_DATA(const wxChar *) wxFileSelectorDefaultWildcardStr = +extern WXDLLEXPORT_DATA(const wxChar) wxFileSelectorDefaultWildcardStr[] = #if defined(__WXMSW__) || defined(__OS2__) wxT("*.*") #else // Unix/Mac wxT("*") #endif ; -WXDLLEXPORT_DATA(const wxChar *) wxDirDialogNameStr = wxT("wxDirCtrl"); -WXDLLEXPORT_DATA(const wxChar *) wxDirDialogDefaultFolderStr = wxT("/"); +extern WXDLLEXPORT_DATA(const wxChar) wxDirDialogNameStr[] = wxT("wxDirCtrl"); +extern WXDLLEXPORT_DATA(const wxChar) wxDirDialogDefaultFolderStr[] = wxT("/"); #if defined(__WXMSW__) || defined(__OS2__) WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT");