+ // if we should always have a horizontal scrollbar, do show it
+ if ( style & wxHSCROLL )
+ {
+#if wxUSE_TWO_WINDOWS
+ SetInsertIntoMain( true );
+#endif
+ m_scrollbarHorz = new wxScrollBar(this, wxID_ANY,
+ wxDefaultPosition, wxDefaultSize,
+ wxSB_HORIZONTAL);
+#if wxUSE_TWO_WINDOWS
+ SetInsertIntoMain( false );
+#endif
+ }
+
+ if (m_scrollbarHorz || m_scrollbarVert)
+ {
+ // position it/them