Fix wxBannerWindowNameStr definition in DLL builds.

Don't use WXDLLEXPORT_DATA when defining the variable, it can be only used
when declaring it.

This fixes wxMSW DLL build with MSVC.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-08-23 10:50:43 +00:00
parent 4ca8531f61
commit 94ed214db2

View File

@@ -35,7 +35,7 @@ const int MARGIN_Y = 5;
} // anonymous namespace
extern WXDLLEXPORT_DATA(const char) wxBannerWindowNameStr[] = "bannerwindow";
const char wxBannerWindowNameStr[] = "bannerwindow";
BEGIN_EVENT_TABLE(wxBannerWindow, wxWindow)
EVT_SIZE(wxBannerWindow::OnSize)