mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00
Fix event table baseclass error (#9777)
This commit is contained in:
parent
beaaa09f2f
commit
340da6fa85
8 changed files with 8 additions and 8 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
wxDEFINE_EVENT(EVT_ITEM_ACTION, wxCommandEvent);
|
||||
|
||||
BEGIN_EVENT_TABLE(Slic3r::GUI::ImageGrid, wxPanel)
|
||||
BEGIN_EVENT_TABLE(Slic3r::GUI::ImageGrid, wxWindow)
|
||||
|
||||
EVT_MOTION(Slic3r::GUI::ImageGrid::mouseMoved)
|
||||
EVT_ENTER_WINDOW(Slic3r::GUI::ImageGrid::mouseEnterWindow)
|
||||
|
|
|
@ -14,7 +14,7 @@ static const wxColour text_num_color = wxColour(0x898989);
|
|||
static const wxColour BUTTON_PRESS_COL = wxColour(172, 172, 172);
|
||||
static const double sqrt2 = std::sqrt(2);
|
||||
|
||||
BEGIN_EVENT_TABLE(AxisCtrlButton, wxPanel)
|
||||
BEGIN_EVENT_TABLE(AxisCtrlButton, wxWindow)
|
||||
EVT_LEFT_DOWN(AxisCtrlButton::mouseDown)
|
||||
EVT_LEFT_UP(AxisCtrlButton::mouseReleased)
|
||||
EVT_MOTION(AxisCtrlButton::mouseMoving)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
|
||||
wxDEFINE_EVENT(wxCUSTOMEVT_SET_TEMP_FINISH, wxCommandEvent);
|
||||
BEGIN_EVENT_TABLE(ProgressBar, wxPanel)
|
||||
BEGIN_EVENT_TABLE(ProgressBar, wxWindow)
|
||||
EVT_PAINT(ProgressBar::paintEvent)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <wx/dcgraph.h>
|
||||
#include <wx/dcclient.h>
|
||||
|
||||
BEGIN_EVENT_TABLE(RoundedRectangle, wxPanel)
|
||||
BEGIN_EVENT_TABLE(RoundedRectangle, wxWindow)
|
||||
EVT_PAINT(RoundedRectangle::OnPaint)
|
||||
END_EVENT_TABLE()
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <wx/dcclient.h>
|
||||
#include <wx/dcgraph.h>
|
||||
|
||||
BEGIN_EVENT_TABLE(SideButton, wxPanel)
|
||||
BEGIN_EVENT_TABLE(SideButton, wxWindow)
|
||||
EVT_LEFT_DOWN(SideButton::mouseDown)
|
||||
EVT_LEFT_UP(SideButton::mouseReleased)
|
||||
EVT_PAINT(SideButton::paintEvent)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <wx/dcgraph.h>
|
||||
|
||||
BEGIN_EVENT_TABLE(SpinInput, wxPanel)
|
||||
BEGIN_EVENT_TABLE(SpinInput, StaticBox)
|
||||
|
||||
EVT_KEY_DOWN(SpinInput::keyPressed)
|
||||
//EVT_MOUSEWHEEL(SpinInput::mouseWheelMoved)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
wxDEFINE_EVENT(wxCUSTOMEVT_SET_TEMP_FINISH, wxCommandEvent);
|
||||
|
||||
BEGIN_EVENT_TABLE(TempInput, wxPanel)
|
||||
BEGIN_EVENT_TABLE(TempInput, StaticBox)
|
||||
EVT_MOTION(TempInput::mouseMoved)
|
||||
EVT_ENTER_WINDOW(TempInput::mouseEnterWindow)
|
||||
EVT_LEAVE_WINDOW(TempInput::mouseLeaveWindow)
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <wx/dcclient.h>
|
||||
#include <wx/dcgraph.h>
|
||||
|
||||
BEGIN_EVENT_TABLE(TextInput, wxPanel)
|
||||
BEGIN_EVENT_TABLE(TextInput, StaticBox)
|
||||
|
||||
EVT_PAINT(TextInput::paintEvent)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue