FlatNotbook patch for Hiding the tabs

finally figured out how to get the HIDE_ON_SINGLE_TAB style to work
right, so here is a patch to add it, and a patch for the Demo so you
can test it.

flatnotebook.patch (2.48 KB)

FlatNotebookDemo.patch (2.24 KB)

···

--
Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com
OpenRPG+ Lead Developer
~~http://openrpg.digitalxero.net
XeroPortal Creator
~~http://www.digitalxero.net
Web Admin for Thewarcouncil.us
~~http://www.thewarcouncil.us

Dj Gilcrease wrote:

finally figured out how to get the HIDE_ON_SINGLE_TAB style to work
right, so here is a patch to add it, and a patch for the Demo so you
can test it.

I get hunk failures when trying to apply this patch to the CVS version. Please use the CVS as your source version and resubmit the patch.

http://wxpython.org/codeguidelines.php

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Ok, I think the issues was my using WinMerge to generate the patch
file which used windows line terminations

flatnotebook.patch (2.22 KB)

···

On 11/2/06, Robin Dunn <robin@alldunn.com> wrote:

I get hunk failures when trying to apply this patch to the CVS version.
  Please use the CVS as your source version and resubmit the patch.

http://wxpython.org/codeguidelines.php

Dj Gilcrease wrote:

···

On 11/2/06, Robin Dunn <robin@alldunn.com> wrote:

I get hunk failures when trying to apply this patch to the CVS version.
  Please use the CVS as your source version and resubmit the patch.

http://wxpython.org/codeguidelines.php

Ok, I think the issues was my using WinMerge to generate the patch
file which used windows line terminations

No, as I said, the problem was that you made your changes to Andrea's version of the code and made your patch from that. The version in CVS has had other changes made and so the content of your patch file doesn't line up with it.

I've applied it by hand now.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!