X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8208e181cb576ec6cda37624923f95a59af43072..b9b7804a435e969fcb48ae8634ecc41f49858d65:/src/mac/carbon/data.cpp?ds=sidebyside diff --git a/src/mac/carbon/data.cpp b/src/mac/carbon/data.cpp index fab57c49fe..a504169614 100644 --- a/src/mac/carbon/data.cpp +++ b/src/mac/carbon/data.cpp @@ -92,6 +92,7 @@ wxFont wxNullFont; wxColour wxNullColour; // Default window names +const wxChar *wxControlNameStr = wxT("control"); const wxChar *wxButtonNameStr = wxT("button"); const wxChar *wxCanvasNameStr = wxT("canvas"); const wxChar *wxCheckBoxNameStr = wxT("check"); @@ -102,8 +103,8 @@ 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 *wxStaticTextNameStr = wxT("statictext"); +const wxChar *wxStaticBitmapNameStr = wxT("staticbitmap"); const wxChar *wxMultiTextNameStr = wxT("multitext"); const wxChar *wxPanelNameStr = wxT("panel"); const wxChar *wxRadioBoxNameStr = wxT("radioBox"); @@ -134,5 +135,17 @@ const wxChar *wxDirDialogDefaultFolderStr = wxT("/"); const wxChar *wxFloatToStringStr = wxT("%.2f"); const wxChar *wxDoubleToStringStr = wxT("%.2f"); +#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);