Commit Graph

70 Commits

Author SHA1 Message Date
Václav Slavík
e5fbeb79c1 wxrc: fix incorrectly generated code with --extra-cpp-code (fixes #9631)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 19:32:05 +00:00
Francesco Montorsi
bd365871aa s/wxSplitPath/wxFileName::SplitPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 01:47:47 +00:00
Vadim Zeitlin
81d3348a9b replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:43:11 +00:00
Václav Slavík
563a24f061 silence compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 13:53:37 +00:00
Vadim Zeitlin
e74f12021d don't leak wxFileType returned from GetFileTypeFromExtension(); fix compilation with wxUSE_MIMETYPE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-02 11:25:29 +00:00
Václav Slavík
21b2dde583 generate #line references to source .xrc files in wxrc --gettext (patch #1803492 by Heikki Linnakangas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-30 11:11:51 +00:00
Vadim Zeitlin
db51a209d7 fix compilation due to wxCmdLineEntryDesc changes once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 14:37:12 +00:00
Vadim Zeitlin
0d5ab92f84 reverted the change of wxCmdLineEntryDesc fields to wxString as this doesn't compile with VC6; make them const char * instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 21:05:12 +00:00
Vadim Zeitlin
4ffb0f30f7 compilation fix after wxCmdLineEntryDesc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 00:51:47 +00:00
Vadim Zeitlin
106e875e59 recognize hover bitmaps (patch 1758843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:21:11 +00:00
Václav Slavík
288b6107e1 renamed wxXmlProperty to wxXmlAttribute, plus implied method names changes (bug #1751761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 10:07:41 +00:00
Václav Slavík
9ec6078f41 fixed 'url' field extraction to be done for wxHtmlWindow only (bug #1741900)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 12:16:20 +00:00
Václav Slavík
09f0108224 made the code a bit more readable by not using _T() around to-be-generated code snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 20:30:20 +00:00
Václav Slavík
5881d27bcf made the code a bit more readable by not using _T() around to-be-generated code snippets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 20:22:08 +00:00
Václav Slavík
c5d7b81ecf improve XRC loading performance on Unix by avoiding MIME database loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-18 18:43:34 +00:00
Václav Slavík
6b24b421ce PCH-less compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-27 21:03:46 +00:00
Vadim Zeitlin
b4a980f4f5 don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:23:19 +00:00
Vadim Zeitlin
325cf48f5a add support for a data tag which can be used to embed arbitrary data into the generated code (part of some forgotten patch...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:19:20 +00:00
Vadim Zeitlin
216d173fba renamed meaningless IsRealClass() function in CanBeUsedWithXRCCTRL() because this is what it really does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:48:11 +00:00
Vadim Zeitlin
76ff8ed673 don't try to use XRCCTRL() with wxMenuBar or wxStaticBoxSizer, this fails (at run- or compile-time) (1st part of patch 1596624)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 16:46:23 +00:00
Vadim Zeitlin
aac18ec71e generate ctors with optional parent parameters in C++ code (patch 1238355)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 22:53:06 +00:00
Vadim Zeitlin
bc151e8486 recognize bitmap2 tag as containing a bitmap (used for disabled toolbar buttons)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 15:12:37 +00:00
Vadim Zeitlin
17a1ebd101 first round of Intel compiler warning fixes: down from a few thousands just to slightly more than 100
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 19:59:19 +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
Julian Smart
d69225772a Olly Betts' typo patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:29:22 +00:00
Włodzimierz Skiba
e7694e3be8 MinGW warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-01 20:34:39 +00:00
Vadim Zeitlin
be575a0160 enclose zip arguments in quotes, fixes behaviour for paths which contain spaces (fixed patch 1092970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 22:17:18 +00:00
Václav Slavík
097d3ba2ab compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 12:40:19 +00:00
Włodzimierz Skiba
2ad1ff540f Source cleaning, warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 19:57:24 +00:00
Julian Smart
caf6f46899 Wrapped two generated literals in _T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 20:49:58 +00:00
Václav Slavík
8b34993daa added 'icon' property to wxFrame and wxDialog in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 11:42:27 +00:00
Václav Slavík
3747d6c0d5 generated resources code doesn't have to include <wx/wx.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 15:30:32 +00:00
Robin Dunn
9a9942f75a Allow embedded double quotes, and hex-encode single quotes. Makes the
typical case a bit more readable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 00:20:27 +00:00
Robin Dunn
b27a4ef40d Updates for how the Python code is generated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 00:15:21 +00:00
Václav Slavík
8da9d91cc4 don't include strings that shouldn't be translated in gettext output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-29 18:27:51 +00:00
Václav Slavík
76ee049789 fixes for C++ code generator (modified patch 1010058)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-23 12:55: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
Robin Dunn
aa063b2408 Fix compile errors with VC 6. Untabified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-18 17:23:31 +00:00
Václav Slavík
1dce6f094a applied patch 744616: WXRC extension for automated use (Eduardo Marques)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 21:58:29 +00:00
Mattia Barbon
07ee782bb8 Do not use wx/wx.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 15:44:28 +00:00
Julian Smart
0a0be6d5a8 Applied patch [ 793000 ] "unreachable code" changes in wxrc contrib util
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 09:30:59 +00:00
Václav Slavík
80b2db4ee6 added IMPLEMENT_APP_CONSOLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 20:48:47 +00:00
Julian Smart
3029e588e0 Use _NO_THEMES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-19 08:41:17 +00:00
Václav Slavík
6fcef5ed66 fixed command line parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 20:09:02 +00:00
Václav Slavík
f65a69e9a0 expand wildcards on windows (patch #773160)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 22:23:09 +00:00
Václav Slavík
cecc483e14 XML library moved to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 22:15:32 +00:00
Václav Slavík
5851504dfc fix wxrc-generated c++ code to work in Unicode mode (patch #704064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-16 20:27:15 +00:00
Václav Slavík
4249ec2c52 1) fixed compilation of wxBitmap, wxIcon toplevel nodes
(to be backported into 2.4.1)
2) fixed wxrc when using -o dirname/filename


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-25 15:23:44 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
ab7ce33c56 disable use of #pragma interface under Mac OS X
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 12:28:46 +00:00