]> git.saurik.com Git - wxWidgets.git/commitdiff
SetBackground with a bitmap is only implemented in wxUniversal
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 4 Sep 2002 11:14:55 +0000 (11:14 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Wed, 4 Sep 2002 11:14:55 +0000 (11:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/mobile/styles/styles.cpp

index cf72c737860a54dfd22115fc5886b83d6da95a85..3c7de87fbcef5ccb7a4547513c8e36b3f90e6734 100644 (file)
@@ -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 ) );