[wxGTK] wxTLW not scrollable (was: segfault with Dialog)

Vadim Zeitlin vadim at wxwidgets.org
Thu Jun 21 04:43:27 PDT 2007


On Thu, 21 Jun 2007 13:29:30 +0200 Robert Roebling wrote:

RR> >  Ok. I'd just like to make sure that the code fails with an intelligible
RR> > error message instead of crashing then. What would be the best way to do
RR> > it? I see
RR> > 
RR> > 1. Overriding SetScrollbar() &c at wxTLW level to assert and do nothing
RR> >    (in particular, not crash)
RR> > 
RR> > 2. Adding checks that the m_scrollBar elements are non-NULL in wxWindow
RR> >    itself.
RR> > 
RR> > If wxTLW is the only case in which m_scrollBar[x] can be NULL
RR> 
RR> No, it can be NULL in all wxControls so it must be 2,

 Ok, done now, thanks,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list