[ptx] hugin scroll bar

douglas wilkins dgswilkins at yahoo.co.uk
Thu May 5 09:30:11 BST 2005


--- Rob Park <rbpark at gmail.com> wrote:
> On 5/5/05, douglas wilkins <dgswilkins at yahoo.co.uk>
> wrote:
> > I was hoping to avoid that issue :-)
> > 
> > On older snapshots from CVS the header
> panoinc_WX.h
> > used a version check for 2.5.2 (if I remember
> > correctly) to decide whether to enable the scroll
> bars
> > or not. Unfortunately this version didn't work on
> > wxMSW, and indeed later versions (2.5.5) didn't
> even
> > work on wxGTK.
> > 
> > The current version of panoinc_WX.h in CVS now
> checks
> > for 2.6.0 instead because from this version onward
> the
> > scroll bars and splitter windows work on both
> wxGTK
> > and wxMSW, hence my earlier comment.
> > 
> > Hope this explanation helps :-)
> 
> So what you're saying is that my copy of hugin has
> those scrollbars,
> but that a newly compiled version wouldn't have
> that?

Yes :-(

> 
> Well, I don't have wxwidgets 2.6 (and won't for a
> while, probably 6
> months)... if I needed to build hugin from CVS in
> that time, how would
> I go about enabling those scrollbars again?

Change the check in panoinc_WX.h at line 71 from
#if wxCHECK_VERSION(2,6,0)

to 
#if wxCHECK_VERSION(2,5,2)

may work, but if it at all possible, I would
reccommend moving to wxWidgets 2.6.x - It is now the
stable version (2.4.x and 2.5.x are now deprecated)
and there were a few serious errors that crept in
during the 2.5.x series at various points that could
bite you. Offhand I remember an issue with opening
multiple files as well that was only corrected late in
the cycle.

I will be developing against 2.6.x from now on as it
is the stable release that will receive bug fixes
(2.4.x and 2.5.x will not). Also for those who use Mac
OSX, the 2.6.x series is the first release of
wxWidgets that  works properly there.

regards,
Doug



	
	
		
___________________________________________________________ 
Yahoo! Messenger - want a free and easy way to contact your friends online? http://uk.messenger.yahoo.com


More information about the ptX mailing list