Skip to content

Commit d173136

Browse files
committed
Move activate to correct method, update formbuilder project
1 parent 43f6d20 commit d173136

File tree

5 files changed

+4235
-4198
lines changed

5 files changed

+4235
-4198
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,6 @@ macro(enable_unity targets)
127127
endmacro()
128128

129129
set(all_unity "wxcore;wxbase;fmt;wxpng;")
130-
enable_unity("${all_unity}")
130+
if(MSVC)
131+
enable_unity("${all_unity}")
132+
endif()

source/activation.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include "activation.hpp"
33
#include "fmt/format.h"
44
#include <wx/process.h>
5+
#include <wx/filedlg.h>
56

67
wxBEGIN_EVENT_TABLE(PersonalActivationDlg, wxDialog)
78
EVT_BUTTON(PAD_CREATE, PersonalActivationDlg::OnCreateHit)
@@ -45,11 +46,6 @@ void PersonalActivationDlg::OnCreateHit(wxCommandEvent& evt)
4546
}
4647

4748
void PersonalActivationDlg::OnActivateHit(wxCommandEvent&)
48-
{
49-
50-
}
51-
52-
void PlusProActivationDlg::OnActivateHit(wxCommandEvent&)
5349
{
5450
wxFileDialog openFileDialog(this, _("Open License file"), "", "", "ULF files (*.ulf)|*.ulf", wxFD_OPEN | wxFD_FILE_MUST_EXIST);
5551
if (openFileDialog.ShowModal() == wxID_CANCEL) {}
@@ -59,3 +55,8 @@ void PlusProActivationDlg::OnActivateHit(wxCommandEvent&)
5955
wxExecute(cmd, wxEXEC_SYNC);
6056
}
6157
}
58+
59+
void PlusProActivationDlg::OnActivateHit(wxCommandEvent&)
60+
{
61+
62+
}

0 commit comments

Comments
 (0)