mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user