Move GTK3 wxNO_BORDER handling to wxControl
So wxNO_BORDER works with other controls, such as wxBitmapButton. Also use GTK prefix on ApplyCssStyle(), and add an overload that creates the GtkCssProvider.
This commit is contained in:
parent
ef0309c141
commit
21620da3e5
5 changed files with 18 additions and 13 deletions
|
|
@ -457,7 +457,8 @@ void ButtonWidgetsPage::CreateButton()
|
|||
if ( m_chkUseBitmapClass->GetValue() )
|
||||
{
|
||||
bbtn = new wxBitmapButton(this, ButtonPage_Button,
|
||||
CreateBitmap(wxT("normal")));
|
||||
CreateBitmap(wxT("normal")),
|
||||
wxDefaultPosition, wxDefaultSize, flags);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue