SetBackground with a bitmap is only implemented in wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,7 +44,9 @@ MyFrame::MyFrame( wxWindow *parent, wxWindowID id, const wxString &title,
|
||||
image.LoadFile( "marble.jpg", wxBITMAP_TYPE_JPEG );
|
||||
|
||||
wxBitmap bitmap( image );
|
||||
#ifdef __WXUNIVERSAL__
|
||||
SetBackground( bitmap, 0, wxTILE );
|
||||
#endif
|
||||
|
||||
new wxStaticText( this, -1, "This is text", wxPoint( 20,50 ) );
|
||||
|
||||
|
Reference in New Issue
Block a user