summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d5f7923)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25537
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- void OnKillFocus(wxFocusEvent& event) {
+ void OnKillFocus(wxFocusEvent& WXUNUSED(event)) {
// Do nothing. Prevents base class from resetting the colors...
}
// Do nothing. Prevents base class from resetting the colors...
}
- void OnActivate(wxListEvent& event) {
+ void OnActivate(wxListEvent& WXUNUSED(event)) {
doubleClickAction(doubleClickActionData);
}
doubleClickAction(doubleClickActionData);
}
bool AcceptsFocus() const { return FALSE; }
bool AcceptsFocus() const { return FALSE; }
- void OnPaint(wxPaintEvent& evt) {
+ void OnPaint(wxPaintEvent& WXUNUSED(evt)) {
wxPaintDC dc(this);
Surface* surfaceWindow = Surface::Allocate();
surfaceWindow->Init(&dc, m_ct->wDraw.GetID());
wxPaintDC dc(this);
Surface* surfaceWindow = Surface::Allocate();
surfaceWindow->Init(&dc, m_ct->wDraw.GetID());
if (idler.state != on) {
// connect or disconnect the EVT_IDLE handler
if (on)
if (idler.state != on) {
// connect or disconnect the EVT_IDLE handler
if (on)
- stc->Connect(-1, wxEVT_IDLE, (wxObjectEventFunction)&wxStyledTextCtrl::OnIdle);
+ stc->Connect(-1, wxEVT_IDLE,
+ (wxObjectEventFunction) (wxEventFunction) (wxIdleEventFunction) &wxStyledTextCtrl::OnIdle);
- stc->Disconnect(-1, wxEVT_IDLE, (wxObjectEventFunction)&wxStyledTextCtrl::OnIdle);
+ stc->Disconnect(-1, wxEVT_IDLE,
+ (wxObjectEventFunction) (wxEventFunction) (wxIdleEventFunction) &wxStyledTextCtrl::OnIdle);
idler.state = on;
}
return idler.state;
idler.state = on;
}
return idler.state;
- void OnKillFocus(wxFocusEvent& event) {
+ void OnKillFocus(wxFocusEvent& WXUNUSED(event)) {
// Do nothing. Prevents base class from resetting the colors...
}
// Do nothing. Prevents base class from resetting the colors...
}
- void OnActivate(wxListEvent& event) {
+ void OnActivate(wxListEvent& WXUNUSED(event)) {
doubleClickAction(doubleClickActionData);
}
doubleClickAction(doubleClickActionData);
}
bool AcceptsFocus() const { return FALSE; }
bool AcceptsFocus() const { return FALSE; }
- void OnPaint(wxPaintEvent& evt) {
+ void OnPaint(wxPaintEvent& WXUNUSED(evt)) {
wxPaintDC dc(this);
Surface* surfaceWindow = Surface::Allocate();
surfaceWindow->Init(&dc, m_ct->wDraw.GetID());
wxPaintDC dc(this);
Surface* surfaceWindow = Surface::Allocate();
surfaceWindow->Init(&dc, m_ct->wDraw.GetID());
if (idler.state != on) {
// connect or disconnect the EVT_IDLE handler
if (on)
if (idler.state != on) {
// connect or disconnect the EVT_IDLE handler
if (on)
- stc->Connect(-1, wxEVT_IDLE, (wxObjectEventFunction)&wxStyledTextCtrl::OnIdle);
+ stc->Connect(-1, wxEVT_IDLE,
+ (wxObjectEventFunction) (wxEventFunction) (wxIdleEventFunction) &wxStyledTextCtrl::OnIdle);
- stc->Disconnect(-1, wxEVT_IDLE, (wxObjectEventFunction)&wxStyledTextCtrl::OnIdle);
+ stc->Disconnect(-1, wxEVT_IDLE,
+ (wxObjectEventFunction) (wxEventFunction) (wxIdleEventFunction) &wxStyledTextCtrl::OnIdle);
idler.state = on;
}
return idler.state;
idler.state = on;
}
return idler.state;