fixed update ui for NewWindow

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@106 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-12-10 16:47:56 +00:00
parent 2af6304844
commit 95a5c2f42b
8 changed files with 39 additions and 48 deletions
+1
View File
@@ -64,6 +64,7 @@ class GalleryList : public wxScrolledWindow {
size_t findItem(const wxMouseEvent&) const;
/// Find the coordinates of an item
RealPoint itemPos(size_t item) const;
protected:
/// Send an event
void sendEvent(WXTYPE type);
};
+1
View File
@@ -87,6 +87,7 @@ void PackageList::select(const String& name) {
if (it->package->name() == name) {
selection = it - packages.begin();
update();
sendEvent(EVENT_GALLERY_SELECT);
return;
}
}