Commit f8e38452 authored by twanvl's avatar twanvl

use wxBORDER_THEME for custom controls

parent bdaa8083
...@@ -350,7 +350,7 @@ END_EVENT_TABLE () ...@@ -350,7 +350,7 @@ END_EVENT_TABLE ()
// ----------------------------------------------------------------------------- : ImageSlicePreview // ----------------------------------------------------------------------------- : ImageSlicePreview
ImageSlicePreview::ImageSlicePreview(Window* parent, int id, ImageSlice& slice, const AlphaMask& mask) ImageSlicePreview::ImageSlicePreview(Window* parent, int id, ImageSlice& slice, const AlphaMask& mask)
: wxControl(parent, id) : wxControl(parent, id, wxDefaultPosition, wxDefaultSize, wxBORDER_THEME)
, slice(slice) , slice(slice)
, mask(mask) , mask(mask)
, mouse_down(false) , mouse_down(false)
...@@ -439,7 +439,7 @@ END_EVENT_TABLE () ...@@ -439,7 +439,7 @@ END_EVENT_TABLE ()
// ----------------------------------------------------------------------------- : ImageSliceSelector // ----------------------------------------------------------------------------- : ImageSliceSelector
ImageSliceSelector::ImageSliceSelector(Window* parent, int id, ImageSlice& slice) ImageSliceSelector::ImageSliceSelector(Window* parent, int id, ImageSlice& slice)
: wxControl(parent, id) : wxControl(parent, id, wxDefaultPosition, wxDefaultSize, wxBORDER_THEME)
, slice(slice) , slice(slice)
, mouse_down(false) , mouse_down(false)
{} {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment