1. replaced wxRenderer::AdjustScrollbar with AreScrollbarsInsideBorder(),
it now seems to work with GTK theme too 2. added checkbox bitmaps drawing under GTK git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -213,7 +213,7 @@ bool MyUnivApp::OnInit()
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
MyUnivFrame::MyUnivFrame(const wxString& title)
|
||||
: wxFrame(NULL, -1, title, wxDefaultPosition, wxSize(700, 600))
|
||||
: wxFrame(NULL, -1, title, wxDefaultPosition, wxSize(700, 700))
|
||||
{
|
||||
SetBackgroundColour(wxGetApp().GetBgColour());
|
||||
|
||||
@@ -334,7 +334,10 @@ MyUnivFrame::MyUnivFrame(const wxString& title)
|
||||
i % 10 ? _T("") : _T("very very long "), i));
|
||||
}
|
||||
|
||||
new wxCheckBox(this, -1, _T("Check me"), wxPoint(10, 520));
|
||||
new wxCheckBox(this, -1, _T("Check me"), wxPoint(10, 550));
|
||||
new wxCheckBox(this, -1, _T("Don't check me"),
|
||||
wxPoint(150, 550), wxDefaultSize,
|
||||
wxALIGN_RIGHT);
|
||||
}
|
||||
|
||||
void MyUnivFrame::OnButton(wxCommandEvent& event)
|
||||
|
Reference in New Issue
Block a user