Some tweaks to word drop down list

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@619 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-08-23 17:37:44 +00:00
parent c3e10f2ccf
commit dc9f08b311
5 changed files with 61 additions and 21 deletions
+4 -2
View File
@@ -28,8 +28,10 @@ class DropDownList : public wxPopupWindow {
DropDownList(Window* parent, bool is_submenu = false, ValueViewer* viewer = nullptr);
/// Show the editor
/** if in_place, then shows the list at the position pos */
void show(bool in_place, wxPoint pos);
/** if in_place, then shows the list at the position pos.
* Otherwise around the rect or the viewer rectangle
*/
void show(bool in_place, wxPoint pos, RealRect* rect = nullptr);
/// Close the list, optionally send an onSelect event
void hide(bool event, bool allow_veto = true);