wxCodeGen

BlitzMax Modules Forums/Brucey's Modules/wxCodeGen

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi,

thank you for the adaption - I think there happened something to the Separator-Control:

		m_toolBar1.AddSeparator()
		'm_toolBar1.AddControl()
		m_staticText2 = New wxStaticText.Create(m_toolBar1, wxID_ANY, "Region:")
		m_staticText2.Wrap(-1)
		m_toolBar1.AddControl(m_staticText2)
		m_comboBox2 = New wxComboBox.Create(m_toolBar1, wxID_ANY, "Combo!", Null)
		m_toolBar1.AddControl(m_comboBox2)
		m_toolBar1.AddSeparator()
		'm_toolBar1.AddControl()
		m_staticText3 = New wxStaticText.Create(m_toolBar1, wxID_ANY, "Koordinaten:")
		m_staticText3.Wrap(-1)
		m_toolBar1.AddControl(m_staticText3)
		m_textCtrl1 = New wxTextCtrl.Create(m_toolBar1, wxID_ANY, "",,, 32,-1)
		m_textCtrl1.SetMaxLength(0)
		m_textCtrl1.SetMinSize(32,-1)
		m_textCtrl1.SetMaxSize(32,-1)
		m_toolBar1.AddControl(m_textCtrl1)
		m_toolBar1.AddSeparator()
		'm_toolBar1.AddControl()
		m_textCtrl2 = New wxTextCtrl.Create(m_toolBar1, wxID_ANY, "",,, 32,-1)
		m_textCtrl2.SetMaxLength(0)
		m_textCtrl2.SetMinSize(32,-1)
		m_textCtrl2.SetMaxSize(32,-1)
		m_toolBar1.AddControl(m_textCtrl2)
		m_toolBar1.AddSeparator()
		'm_toolBar1.AddControl()


I have to comment out the .AddControl() Methodcall after the .AddSeparator() to get it working.

But another question:
How to I get rid off the space between the MenuBar and the ToolBar? Is there something wrong how I used the Sizer?