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:
@@ -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
|
||||
|
Reference in New Issue
Block a user