From 07fa1454b601b139264ab0f445f59f5dcbcb9b42 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 2 Aug 2023 17:42:33 +0200 Subject: [PATCH] Clean Code --- packages/wx/src/bbwxCommandButton.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/wx/src/bbwxCommandButton.cxx b/packages/wx/src/bbwxCommandButton.cxx index 24fccf7..a927b07 100644 --- a/packages/wx/src/bbwxCommandButton.cxx +++ b/packages/wx/src/bbwxCommandButton.cxx @@ -75,9 +75,9 @@ namespace bbwx CommandButtonWidget::CommandButtonWidget(CommandButton* box, wxWindow *parent, wxString title ) - : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL), - mBox(box) - { +// : wxPanel( parent, -1, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL), mBox(box) + : wxPanel( parent, -1, wxDefaultPosition, wxSize(20,-1), wxTAB_TRAVERSAL), mBox(box) + { wxPanel *panel = this; mwxCommandButton = new wxButton( panel, -1, title); Connect( mwxCommandButton->GetId(), wxEVT_COMMAND_BUTTON_CLICKED , -- 2.47.1