]> git.saurik.com Git - wxWidgets.git/commitdiff
Add test for new SetBackgroundColour() logic
authorRobert Roebling <robert@roebling.de>
Sat, 21 May 2005 09:46:26 +0000 (09:46 +0000)
committerRobert Roebling <robert@roebling.de>
Sat, 21 May 2005 09:46:26 +0000 (09:46 +0000)
   which should leave the sunken border as it
   is a not give it a green border.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/scroll/scroll.cpp

index 4002270cff81f33e62668065fb924a02c4c024ab..90f11e1c79804f948f1c84a24c7c6c42229c1906 100644 (file)
@@ -406,7 +406,8 @@ BEGIN_EVENT_TABLE( MyAutoScrollWindow, wxScrolledWindow)
 END_EVENT_TABLE()
 
 MyAutoScrollWindow::MyAutoScrollWindow( wxWindow *parent )
-    : wxScrolledWindow( parent )
+    : wxScrolledWindow( parent, -1, wxDefaultPosition, wxDefaultSize, 
+                        wxSUNKEN_BORDER|wxScrolledWindowStyle )
 {
     SetBackgroundColour( wxT("GREEN") );