controls sample tests a bit more

combox doesn't send start-up event
  spinbutton looks correct now
  slider had vertic/horiz flags mixed up
  threads use gdk_enter_gui()
  dnd works a bit more often


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-04-29 15:00:11 +00:00
parent b9a535f540
commit 19da43267e
14 changed files with 95 additions and 33 deletions

View File

@@ -90,7 +90,7 @@ bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, c
m_needParent = TRUE;
wxSize new_size = size;
new_size.x = 16;
new_size.x = 15;
if (new_size.y == -1)
new_size.y = 30;
@@ -185,7 +185,7 @@ void wxSpinButton::OnSize( wxSizeEvent &WXUNUSED(event) )
{
wxCHECK_RET( (m_widget != NULL), _T("invalid spin button") );
m_width = 16;
m_width = 15;
gtk_widget_set_usize( m_widget, m_width, m_height );
}