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:
parent
8c3288a7b6
commit
b261fbf3dc
1 changed files with 2 additions and 0 deletions
|
|
@ -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 ) );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue