]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/spinctrl.cpp
Added missing include
[wxWidgets.git] / src / mac / carbon / spinctrl.cpp
index 478fdfc1e0534e458109cd88b0ccf8548e6c4995..47c2332911f2e5ff54c44ab86d7ad786e5191980 100644 (file)
@@ -88,7 +88,7 @@ protected:
              wxCommandEvent event(wxEVT_COMMAND_SPINCTRL_UPDATED, m_spin->GetId());
              event.SetEventObject(m_spin);
              event.SetInt(l);
-             m_spin->GetEventHandler()->ProcessEvent(event);
+             m_spin->HandleWindowEvent(event);
 
              m_spin->m_oldValue = l;
          }
@@ -116,7 +116,7 @@ protected:
             event.SetString(m_spin->GetText()->GetValue());
             event.SetInt(val);
 
-            m_spin->GetEventHandler()->ProcessEvent(event);
+            m_spin->HandleWindowEvent(event);
         }
 
         event.Skip();
@@ -166,7 +166,7 @@ protected:
         event.SetEventObject(m_spin);
         event.SetInt(pos);
 
-        m_spin->GetEventHandler()->ProcessEvent(event);
+        m_spin->HandleWindowEvent(event);
 
         m_spin->m_oldValue = pos;
     }