[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : alex
Repository : xara
Revision : 1109
Date : Wed May 17 19:19:05 BST 2006
Changed paths:
M /Trunk/XaraLX/wxOil/dlgmgr.cpp
Set wxODComboPopup anchor to the left, which is a sufficient work-around for bug 1072.
Diff:
Index: Trunk/XaraLX/wxOil/dlgmgr.cpp
===================================================================
--- Trunk/XaraLX/wxOil/dlgmgr.cpp (revision 1108)
+++ Trunk/XaraLX/wxOil/dlgmgr.cpp (revision 1109)
@@ -504,7 +504,10 @@
// bodge OD combo boxes not to have scroll bars so often
if (pwxWindow->IsKindOf(CLASSINFO(wxOwnerDrawnComboBox)))
+ {
((wxOwnerDrawnComboBox*)pwxWindow)->SetPopupMaxHeight(600);
+ ((wxOwnerDrawnComboBox*)pwxWindow)->SetPopupAnchor(wxLEFT);
+ }
// Now process children if any
wxWindowList::Node * pNode = pwxWindow->GetChildren().GetFirst();
Xara