Skip to content

Commit ddb0ac6

Browse files
authored
Merge pull request #322 from calband/update_wx_3_1_4
Updating to wxWidgets 3.1.4
2 parents 2f27272 + 21dc5f3 commit ddb0ac6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ set (wxUSE_STD_CONTAINERS ON)
230230
add_subdirectory (submodules/wxWidgets)
231231

232232
target_link_libraries (
233-
CalChart gl core base adv html net aui
233+
CalChart wx::gl wx::core wx::base wx::adv wx::html wx::net wx::aui
234234
)
235235

236236
set_target_properties (CalChart PROPERTIES CXX_STANDARD 17)

src/FieldCanvas.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ EVT_LEFT_DCLICK(FieldCanvas::OnMouseLeftDoubleClick)
4343
EVT_RIGHT_DOWN(FieldCanvas::OnMouseRightDown)
4444
EVT_MAGNIFY(FieldCanvas::OnMousePinchToZoom)
4545
EVT_MOTION(FieldCanvas::OnMouseMove)
46-
EVT_PAINT(FieldCanvas::OnPaint)
46+
EVT_PAINT(FieldCanvas::OnFieldPaint)
4747
EVT_ERASE_BACKGROUND(FieldCanvas::OnEraseBackground)
4848
EVT_MOUSEWHEEL(FieldCanvas::OnMouseWheel)
4949
END_EVENT_TABLE()
@@ -68,7 +68,7 @@ void FieldCanvas::SetView(CalChartView* view)
6868
}
6969

7070
// Define the repainting behaviour
71-
void FieldCanvas::OnPaint(wxPaintEvent& event)
71+
void FieldCanvas::OnFieldPaint(wxPaintEvent& event)
7272
{
7373
const auto& config = CalChartConfiguration::GetGlobalConfig();
7474
OnPaint(event, config);

src/FieldCanvas.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class FieldCanvas : public ClickDragCtrlScrollCanvas {
7272
void Init();
7373

7474
// Event Handlers
75-
void OnPaint(wxPaintEvent& event);
75+
void OnFieldPaint(wxPaintEvent& event);
7676
void OnEraseBackground(wxEraseEvent& event);
7777
void OnMouseLeftDown(wxMouseEvent& event);
7878
void OnMouseLeftUp(wxMouseEvent& event);

submodules/wxWidgets

Submodule wxWidgets updated 2426 files

0 commit comments

Comments
 (0)