Dimitri Schoolwerth
8f8d58d193
Use wx-prefixed macros throughout the repository.
...
Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE
occurrences to use the wx-prefixed version of the macros.
2015-04-23 22:00:35 +04:00
Tim Kosse
527d7d560c
Tools can be specified without name in the XRC, so GetID() of the node returns wxID_ANY. Use the auto-assigned ID of the tool to refer to it instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-07-07 09:33:58 +00:00
Vadim Zeitlin
3f66f6a5b3
Remove all lines containing cvs/svn "$Id$" keyword.
...
This keyword is not expanded by Git which means it's not replaced with the
correct revision value in the releases made using git-based scripts and it's
confusing to have lines with unexpanded "$Id$" in the released files. As
expanding them with Git is not that simple (it could be done with git archive
and export-subst attribute) and there are not many benefits in having them in
the first place, just remove all these lines.
If nothing else, this will make an eventual transition to Git simpler.
Closes #14487 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-26 16:02:46 +00:00
Vadim Zeitlin
df27f1dc9e
Include wx/xml/xml.h from the XRC handlers that need it.
...
Including this header from wx/xrc/xmlres.h itself only when WXMAKINGDLL_XRC is
defined doesn't work when we're building a static library and not a shared/DLL
one and we don't have any symbol defined in this case, so just don't try to be
smart and include this header from the files that need it.
This fixes breakage of r72756.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-25 22:19:20 +00:00
Václav Slavík
5c413e62cf
Call Realize() later in XRC toolbar handler (patch #13888 ).
...
This is a workaround for a deeper compatibility problem in Cocoa
implementation (see the bug for detailed discussion), but for now, this
simple workaround is much better than not doing nothing.
See #13888 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-07-20 20:23:45 +00:00
Vadim Zeitlin
f72ed38578
Add "checked" property for toolbar tool elements in XRC.
...
Allow toolbar tools to be created in checked (or toggled) state in XRC, just
as the menu items can already be created checked.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-10-20 16:10:35 +00:00
Vadim Zeitlin
ce00f59b5b
No changes whatsoever, just remove trailing whitespace.
...
There are no real changes in this commit but it removes all trailing white
space from our source files. This avoids problems when applying patches and
making diffs and it would be nice to prevent it from reappearing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-30 11:44:45 +00:00
Vadim Zeitlin
5852e62f1f
Add support for stretchable spacers to XRC wxToolBar handler.
...
Notice that currently only stretchable spacers are supported via
separator-like "space" XRC element. If we ever add support for fixed spacers
in the toolbar we should do it via its fixed sub-element, e.g. they would be
specified with <fixed>1</fixed> in XRC file.
Also use spacers instead of separator in the XRC sample and ensure that the
toolbars in it are resized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-18 00:29:00 +00:00
Stefan Csomor
073e104114
make sure it is compilable w/o menus (eg on iPhone)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-09 07:27:22 +00:00
Václav Slavík
d0f063020e
use <bitmapsize> to load bitmaps at the specified size in wxToolBar's XRC handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-05 18:23:04 +00:00
Václav Slavík
819559b2ac
better XRC errors reporting: report location of the error and use unified formatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 10:29:14 +00:00
Vadim Zeitlin
b935c45dee
compilation fixes for PCH-less build after r57074
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 09:05:04 +00:00
Vadim Zeitlin
07acc3cc57
replace asserts in XRC code with wxLogError/Warning() calls as XRC can come from an external source and doesn't necessarily indicate a programming error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:23:22 +00:00
Vadim Zeitlin
e2517f176b
add support for creating drop down toolbar buttons from XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:11:54 +00:00
Václav Slavík
623114052c
wxToolBar XRC handler should call SetupWindow() to handle standard window properties too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 14:36:55 +00:00
Vadim Zeitlin
e13edb6612
don't use deprecated wxToolBar::AddTool() overload taking position parameters which don't do anything anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 00:25:33 +00:00
Vadim Zeitlin
4efffd8750
fix typo: s/radion/radio/
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-26 15:00:56 +00:00
Vadim Zeitlin
9583e4f4a0
recognize wxTB_TOP/LEFT/RIGHT/BOTTOM styles too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:13:07 +00:00
Vadim Zeitlin
dd47af27e1
fixes for compilation with wxUSE_XXX==0 and some other minor fixes (patch 1569904)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:53:40 +00:00
Włodzimierz Skiba
4e3e485bc8
Include wx/toolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:46:13 +00:00
Włodzimierz Skiba
76b49cf49b
Include wx/frame.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 08:10:55 +00:00
Vadim Zeitlin
700dbceb37
added support for <bg> tag for toolbars in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:22:56 +00:00
Vadim Zeitlin
114807c0b2
added support disabled tag for toolbar elements in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 13:20:18 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Václav Slavík
c575e45a24
fixed condition for using #pragmas
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 21:33:15 +00:00
Václav Slavík
61b52e4667
added wxTB_HORZ_TEXT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:54:59 +00:00
Václav Slavík
b29c9f3b07
added wxTB_HORZ_LAYOUT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-14 09:29:02 +00:00
Václav Slavík
621be1ec26
wxUSE_XRC implies wxUSE_XML now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 09:18:13 +00:00
Ryan Norton
da86e17765
wxUSE_XML and wxUSE_XRC build fixes if expat is not enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-22 21:23:46 +00:00
Václav Slavík
a1e4ec8731
moving XRC to the core
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 08:53:16 +00:00
Włodzimierz Skiba
f80ea77b4a
wxID_ANY, wxDefaultSize, wxDefaultPosition, wxNOT_FOUND, true, false, tabs replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 13:14:23 +00:00
Julian Smart
ace1785b15
Added window styles to wxToolBar handler.
...
Allow wxScrolledWindow to have children.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 09:08:36 +00:00
Václav Slavík
017b6a0d40
make it possible to not attach toolbars to frames (John Anderson)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:17:54 +00:00
Václav Slavík
854e189f90
added wxRTTI to XRC handlers (patch #752996 by David Falkinder)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-12 18:10:38 +00:00
Václav Slavík
c37ffc1fef
updated wxToolBar handler to support new wxToolBar features
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 23:49:28 +00:00
Václav Slavík
db59a97cda
1. minor rewrite of XRC's stock_id/stock_client handling, now guesses client id from context
...
2. fixed 'platform' property handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 22:28:15 +00:00
Václav Slavík
544fee32ee
use a programmer-friendly macro for subclassing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 16:14:04 +00:00
Václav Slavík
f258818045
Changes to the XRC library:
...
1. preparation of XRC handlers for subclassing (Alex)
2. fixed incorrect use of _() in couple of places
3. wxFrame and wxDialog positioning fixes
4. menus and toolbars attach themselves to the parent frame
5. style unification: let all _T()s be wxT()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:48 +00:00
Václav Slavík
b5d6954b87
cosmetic change: XML resource -> XRC resource
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 19:38:05 +00:00
Václav Slavík
a42aa5d7be
fixed a canonical example of Stupid Bug(tm)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 19:51:55 +00:00
Václav Slavík
78d14f80e9
changed wxXML to XRC, wx/xml/*.h->wx/xrc/*.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 22:43:51 +00:00