wxDockIt: Style to hide the close button when docked.

If you have a cool piece of software to share, but you are not hosting it officially yet, please dump it in here. If you have code snippets that are useful, please donate!
Post Reply
User avatar
tierra
Site Admin
Site Admin
Posts: 1355
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

wxDockIt: Style to hide the close button when docked.

Post by tierra »

This is just a minor change to wxDockIt to allow for hiding the close button in the panel when a wxDockWindow is docked (residing in a wxDockPanel).

After applying the patch, make sure to include dockpanel.h in your project along with all your usual wxDockIt headers, and pass in wxDPC_NO_CLOSE window style.

The patch can be found in the wxExtended SF project page here:
[ 1222222 ] Option to hide the close button when docked.
Post Reply