]> git.saurik.com Git - wxWidgets.git/commitdiff
To make it clear in the sample that a custom animation is used, use wxSHOW_EFFECT_BLE...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 6 Jun 2010 12:35:03 +0000 (12:35 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 6 Jun 2010 12:35:03 +0000 (12:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/combo/combo.cpp

index b5f4705b4713b489c29b387362904e349ef62780..d034aff2418f6d31848e9f1c107b29f6d88be23f 100644 (file)
@@ -504,7 +504,7 @@ protected:
         wxWindow* win = GetPopupWindow();
         win->SetSize(rect);
         win->Raise();  // This is needed
-        win->ShowWithEffect(wxSHOW_EFFECT_SLIDE_TO_BOTTOM);
+        win->ShowWithEffect(wxSHOW_EFFECT_BLEND);
         return true;
     }
 };
@@ -743,8 +743,10 @@ MyFrame::MyFrame(const wxString& title)
     //
 
     rowSizer = new wxBoxSizer( wxHORIZONTAL );
-    rowSizer->Add( new wxStaticText(panel,wxID_ANY,wxT("List View wxComboCtrl:")), 1,
-                   wxALIGN_CENTER_VERTICAL|wxRIGHT, 4 );
+    rowSizer->Add( new wxStaticText(panel,
+                        wxID_ANY,
+                        "List View wxComboCtrl (custom animation):"),
+                   1, wxALIGN_CENTER_VERTICAL|wxRIGHT, 4 );
     rowSizer->Add( new wxStaticText(panel,wxID_ANY,wxT("Tree Ctrl wxComboCtrl:")), 1,
                    wxALIGN_CENTER_VERTICAL|wxRIGHT, 4 );
     colSizer->Add( rowSizer, 0, wxEXPAND|wxALL, 5 );