compilation sample in !WXWIN_COMPATIBILITY_2_2 mode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-04-20 23:30:23 +00:00
parent 6f9b81232e
commit ff8ebfaf5d

View File

@@ -36,10 +36,11 @@
#include "wx/textctrl.h"
#endif
#include "wx/artprov.h"
#include "wx/sizer.h"
#include "widgets.h"
#if 1
#include "icons/button.xpm"
// ----------------------------------------------------------------------------
@@ -321,7 +322,7 @@ void ButtonWidgetsPage::CreateButton()
#ifdef __WXUNIVERSAL__
if ( m_chkImage->GetValue() )
{
m_button->SetImageLabel(wxTheApp->GetStdIcon(wxICON_INFORMATION));
m_button->SetImageLabel(wxArtProvider::GetIcon(wxART_INFORMATION));
}
#endif // wxUniv
@@ -370,4 +371,3 @@ void ButtonWidgetsPage::OnButton(wxCommandEvent& event)
wxLogMessage(_T("Test button clicked."));
}
#endif