Commit Graph

32 Commits

Author SHA1 Message Date
Francesco Montorsi
b052c79adc the control which can be enabled/disabled is a text control not a listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 18:04:21 +00:00
Vadim Zeitlin
747d7d7c15 made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:39:44 +00:00
Vadim Zeitlin
c7db82dced add XRC handler for wxSearchCtrl (extended patch 1751516)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:10:14 +00:00
Vadim Zeitlin
269564eb1a make Ok button in the dialog the default one as people expect it (see bug 1582051)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-27 15:02:49 +00:00
Vadim Zeitlin
f79a95423b use std menu ids for stock items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 00:20:12 +00:00
Vadim Zeitlin
9c6bd3813e increase the notebook size to accomodate the size of the controls inside it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 16:16:39 +00:00
Vadim Zeitlin
912c39325b Various wxCollapsiblePane enhancements (re-patch 1577412):
1. wxUSE_COLLPANE added
2. XRC handler added
3. flicker fixes for the generic version
4. sizing fixes for GTK+ version
5. RTL fixes for the generic version (via wxBoxSizer)
6. better appearance under Mac for the generic version


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:08:17 +00:00
Vadim Zeitlin
9ebb7cade2 added wxSimpleHtmlListBox (patch 1576109 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:09:16 +00:00
Vadim Zeitlin
d956f3e7e7 added wxAnimateCtrl test (rest of the patch 1581391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:12:41 +00:00
Robert Roebling
a0d95a1ead additions for animatectrl xrc sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 14:09:26 +00:00
Robert Roebling
95a4630380 [ 1559479 ] wxImageComboBox
Actually wxBitmapComboBox. Also commited configure.
    Not yet updated Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-23 09:14:49 +00:00
Václav Slavík
374caf2301 use <value> instead of <default-*> for initial value of picker controls in XRC, for consistency with other controls' handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:21:25 +00:00
Włodzimierz Skiba
582f07c253 [ 1487463 ] XRC handler for wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:26:09 +00:00
Robin Dunn
15fa9a1f82 fixed line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 06:38:38 +00:00
Vadim Zeitlin
188cb2af4f show setting help text for individual radio box items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:40:07 +00:00
Vadim Zeitlin
ec376c8fd9 added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
Vadim Zeitlin
2faa0a64e1 no changes (spaces only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 14:17:48 +00:00
Vadim Zeitlin
d64ad2c7e1 added support for radiobox items tooltips in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-04 22:54:17 +00:00
Vadim Zeitlin
6a62debb2c added a page showing wxToolBars (part of patch 1358919)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:29:49 +00:00
Vadim Zeitlin
eca15c0d54 Added wxTreebook:
- added the control itself
- added protected wxBookCtrlBase::AllowNullPage() to accommodate it
- big changes to the sample to get rid of (most) ugly macros
- added XRC handler for the control
- added docs
- and wxUSE_TREEBOOK everywhere


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 18:40:36 +00:00
Vadim Zeitlin
60982deac8 added test for wxXmlResource::Unload()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-13 18:05:00 +00:00
Julian Smart
a5e6cfa82a Artwork updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 13:44:45 +00:00
Julian Smart
93ccce60f4 Updated images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 15:01:36 +00:00
Václav Slavík
172541f64b added XRC handler for wxStdDialogButtonSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 21:28:27 +00:00
Václav Slavík
6372b068b2 fixed typos (patch 1079876)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 10:28:58 +00:00
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Václav Slavík
56572188ee wxCheckList -> wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 09:36:54 +00:00
Václav Slavík
2f5b93fb9f added wxSplitterWindow to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-26 23:19:04 +00:00
Julian Smart
af1337b041 Applied [ 594925 ] Implement wxArtProvider and XRC together
By Robert O'Connor (robertoconnor)

This patch is a draft which successfully allows a wxArtProvider to serve out icons to bitmaps for XRC files.

The syntax to use a wxArtProvider bitmap is:
<bitmap stock_id="wxART_INFORMATION" stock_client="wxART_TOOLBAR">somefallbackicon.png</bitmap>

The bitmap is optional, and will only be used as a fallback image, if the wxArtProvider returned a wxNullBitmap for some reason.

The client attribute, if not specified, currently will be wxART_OTHER. Perhaps there should be a guessing heuristic of it being in a menu node to call wxART_MENU.

Usage of XRC resouces and wxArtProvider together can be seen in an updated /contrib/samples/xrc demo, which is a separate patch.

Search the wx-dev mailing lists for "wxArtProvider" and "XRC" for the full discussions on this feature's API design.

Applied patch [ 594932 ] Extended XRC XML resources sample
By Robert O'Connor (robertoconnor)

This is a more comprehensive introduction to how to get up and running using XRC in your new wxWindows project.

It describes both the basics (for new users) and advanced features. It consists of a demo of dialogs and frames loaded from XRC. Each dialog has a textctrl at the top of the dialog, which walks the new user through that feature.

There are 8 demos:

The 4 basic ones:
-A non-derived dialog, as typically used for an about dialog.
-A derived dialog that loads its resources from an XRC (a frequently-asked question on the mailing lists), and responds to some simple events, including the disable-another-control-via-EVT_UPDATE_UI that is another FAQ, and powerful and simple-to-use feature.
-A XRC reference "Controls" dialog, using a notebook. Each tab has a single control. All XRC handled widgets can be seen at a glance, and how to use them under XRC.
-An uncentered dialog, to demonstrate the easy use of <centered>1</centered> to automatically place a Dialog centered on its parent..

The 4 advanced ones:
-Embedding a custom class into an XRC dialog, by using the "unknown" class.
-Using wxArtProvider to use stock icons from within your your XRC resources.
-Using the platform attribute to selectively show a part of XRC based on the current OS.
-Runtime variable expansion (demo only. Not implemented at this time).

Also:
-The main frame is now demonstrated as being loaded as an XRC.
- The toolbar has longhelp tag demonstrated, and are hooked up to the same events as the menu to show how XRCID() works on the same tool and menuitem XRCID.
-Some custom icons for the demonstration were created, and put into the toolbar and menubar. A custom icon also for the demonstration.
-The example code has been put in 1 class per file (both .cpp and a matching .xrc), to make it much less confusing for a newcomer to figure out what class is what, expecially with all the wx macros for declaration and implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:24:46 +00:00
Václav Slavík
bd0a577993 updated wxXRC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 10:33:21 +00:00
Václav Slavík
40e2d13434 use XML namespace in XRC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:59:02 +00:00
Václav Slavík
999d9a9f79 changed wxXML to XRC, wx/xml/*.h->wx/xrc/*.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 22:18:45 +00:00