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