mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
use wxBORDER_THEME for custom controls
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1564 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -350,7 +350,7 @@ END_EVENT_TABLE ()
|
||||
// ----------------------------------------------------------------------------- : ImageSlicePreview
|
||||
|
||||
ImageSlicePreview::ImageSlicePreview(Window* parent, int id, ImageSlice& slice, const AlphaMask& mask)
|
||||
: wxControl(parent, id)
|
||||
: wxControl(parent, id, wxDefaultPosition, wxDefaultSize, wxBORDER_THEME)
|
||||
, slice(slice)
|
||||
, mask(mask)
|
||||
, mouse_down(false)
|
||||
@@ -439,7 +439,7 @@ END_EVENT_TABLE ()
|
||||
// ----------------------------------------------------------------------------- : ImageSliceSelector
|
||||
|
||||
ImageSliceSelector::ImageSliceSelector(Window* parent, int id, ImageSlice& slice)
|
||||
: wxControl(parent, id)
|
||||
: wxControl(parent, id, wxDefaultPosition, wxDefaultSize, wxBORDER_THEME)
|
||||
, slice(slice)
|
||||
, mouse_down(false)
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user