Border style corrections, and more economical window sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -218,9 +218,16 @@ DECLARE_EVENT_TABLE()
|
||||
class WXDLLIMPEXP_RICHTEXT wxRichTextFontPreviewCtrl : public wxWindow
|
||||
{
|
||||
public:
|
||||
wxRichTextFontPreviewCtrl(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, long style = 0) :
|
||||
wxWindow(parent, id, pos, sz, style)
|
||||
wxRichTextFontPreviewCtrl(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, long style = 0)
|
||||
{
|
||||
if ((style & wxBORDER_MASK) == wxBORDER_DEFAULT)
|
||||
#ifdef __WXMSW__
|
||||
style |= GetThemedBorderStyle();
|
||||
#else
|
||||
style |= wxBORDER_SUNKEN;
|
||||
#endif
|
||||
wxWindow::Create(parent, id, pos, sz, style);
|
||||
|
||||
SetBackgroundColour(*wxWHITE);
|
||||
m_textEffects = 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user