Skip to content

Commit

Permalink
fix(demo): fix function declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
MurkyYT committed Jan 4, 2025
1 parent ecbe49b commit 8233a76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Demo/ControlsDemoWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ControlsDemoWindow::ControlsDemoWindow()
menu->Add(new Separator());
menu->Add(test3);
}
void ControlsDemoWindow::Test2Clicked(UIComponent* sender)
void ControlsDemoWindow::Test2Clicked(void* sender)
{
BOOL checked = ((Menu*)sender)->IsChecked();
((Menu*)sender)->SetChecked(!checked);
Expand Down
2 changes: 1 addition & 1 deletion Demo/ControlsDemoWindow.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ControlsDemoWindow : public Window
Menu* test3;
ContextMenu* menu;
void RadioGroupChanged();
void Test2Clicked(UIComponent* sender);
void Test2Clicked(void* sender);
void ButtonClick();
void ContextMenuOpen();
void InitializeComponent()
Expand Down

0 comments on commit 8233a76

Please sign in to comment.