make XPM data const to avoid warnings from mingw 4.0 (patch 1874995)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-03 13:48:11 +00:00
parent 285900728d
commit 807eac818a
320 changed files with 320 additions and 323 deletions

View File

@@ -86,7 +86,7 @@ enum Orient
class BookWidgetsPage : public WidgetsPage
{
public:
BookWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist, char* icon[]);
BookWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist, const char* icon[]);
virtual ~BookWidgetsPage();
virtual wxControl *GetWidget() const { return m_book; }
@@ -192,7 +192,7 @@ END_EVENT_TABLE()
// implementation
// ============================================================================
BookWidgetsPage::BookWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist, char* icon[])
BookWidgetsPage::BookWidgetsPage(WidgetsBookCtrl *book, wxImageList *imaglist, const char* icon[])
:WidgetsPage(book, imaglist, icon)
{
// init everything