#endif
#include "wx/spinbutt.h"
+
+#ifdef wxUSE_SPINBTN
+
#include "wx/utils.h"
#include <math.h>
{
if (g_isIdle) wxapp_install_idle_handler();
- if (!win->HasVMT()) return;
+ if (!win->m_hasVMT) return;
if (g_blockEventsOnDrag) return;
float diff = win->m_adjust->value - win->m_oldPos;
(GtkSignalFunc) gtk_spinbutt_callback,
(gpointer) this );
- m_parent->AddChild( this );
-
- (m_parent->m_insertCallback)( m_parent, this );
+ m_parent->DoAddChild( this );
PostCreation();
wxScrollEvent(commandType, id)
{
}
+
+#endif
\ No newline at end of file