Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Randalphwa committed Dec 23, 2024
1 parent 4408f67 commit 7787aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate/window_widgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ int ScrolledCanvasGenerator::GenXrcObject(Node* node, pugi::xml_node& object, si
wxObject* ScrolledWindowGenerator::CreateMockup(Node* node, wxObject* parent)
{
auto widget = new wxScrolledWindow(wxStaticCast(parent, wxWindow), wxID_ANY, DlgPoint(node, prop_pos),
DlgSize(node, prop_size), GetStyleInt(node));
DlgSize(node, prop_size), GetStyleInt(node));
widget->SetScrollRate(node->as_int(prop_scroll_rate_x), node->as_int(prop_scroll_rate_y));

widget->Bind(wxEVT_LEFT_DOWN, &BaseGenerator::OnLeftClick, this);
Expand Down

0 comments on commit 7787aa1

Please # to comment.