From a141e01844d244c8d7c215d4a31530e23298fc73 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 16 Sep 2005 10:28:40 +0000 Subject: [PATCH] (blind) CE compilation fix: declare wxToolBarNameStr git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/dialog.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/dialog.h b/include/wx/msw/dialog.h index 3d8cfa3cc2..1381744a35 100644 --- a/include/wx/msw/dialog.h +++ b/include/wx/msw/dialog.h @@ -24,6 +24,7 @@ class WXDLLEXPORT wxDialogModalData; #if wxUSE_TOOLBAR && (defined(__SMARTPHONE__) || defined(__POCKETPC__)) class WXDLLEXPORT wxToolBar; +extern WXDLLEXPORT_DATA(const wxChar*) wxToolBarNameStr; #endif // Dialog boxes @@ -63,6 +64,8 @@ public: // may be called to terminate the dialog with the given return code virtual void EndModal(int retCode); + + // we treat dialog toolbars specially under Windows CE #if wxUSE_TOOLBAR && defined(__POCKETPC__) // create main toolbar by calling OnCreateToolBar() virtual wxToolBar* CreateToolBar(long style = -1, @@ -75,7 +78,8 @@ public: // get the main toolbar wxToolBar *GetToolBar() const { return m_dialogToolBar; } -#endif +#endif // wxUSE_TOOLBAR && __POCKETPC__ + // implementation only from now on // ------------------------------- -- 2.45.2