From 0dbe4363e45829594365f1f478cdb7540cd78ee9 Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Sun, 6 Jun 2010 12:35:03 +0000 Subject: [PATCH] To make it clear in the sample that a custom animation is used, use wxSHOW_EFFECT_BLEND instead of SLIDE_TO_BOTTOM, and add a text '(custom animaton)' git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/combo/combo.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/samples/combo/combo.cpp b/samples/combo/combo.cpp index b5f4705b47..d034aff241 100644 --- a/samples/combo/combo.cpp +++ b/samples/combo/combo.cpp @@ -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 ); -- 2.45.2