mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-24 02:59:49 +02:00
feat(wx): Make the donate button actually do something (#769)
This commit is contained in:
1 parent
96486d6267
commit
1481ecc512
1 file changed
+5
@@ -133,6 +133,11 @@ MainPanel::MainPanel(MainFrame* frame, wxWindow* parent)
|
||||
palerain_flags &= ~palerain_option_quick;
|
||||
});
|
||||
|
||||
donateButton->Bind(wxEVT_BUTTON, [](wxCommandEvent&)
|
||||
{
|
||||
wxLaunchDefaultBrowser("https://patreon.com/palera1n");
|
||||
});
|
||||
|
||||
optionsButton->Bind(wxEVT_BUTTON, [frame](wxCommandEvent&)
|
||||
{
|
||||
frame->ShowSettings();
|
||||
|
||||
Reference in new issue
Block a user