Commit Graph

119 Commits

Author SHA1 Message Date
Václav Slavík
43840d8b3a added wxTAB_TRAVERSAL to common styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:42:23 +00:00
Václav Slavík
b0802e6421 added wxWS_EX_VALIDATE_RECURSIVELY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:37:02 +00:00
Václav Slavík
0c00c86faf fixed dialog units in toplevel windows (bug #1170234)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:28:44 +00:00
Dimitri Schoolwerth
8516a98b54 fixed MSVC6's "C4702: unreachable code" warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 14:59:57 +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
Włodzimierz Skiba
ec157c8f95 Old API depreciated. Use of new API. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 19:35:52 +00:00
Włodzimierz Skiba
e7a3a5a51b WinCE fix. IsEmpty() -> empty().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:56:18 +00:00
Václav Slavík
32efded3f9 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:34:36 +00:00
Václav Slavík
1df61962e8 added system colours and fonts support to XRC (based on patch #1038207)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 21:53:51 +00:00
Václav Slavík
3a3013019a use wxNewId() to implement XRCID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-05 21:12:41 +00:00
Václav Slavík
9a8d8c5a51 don't use m_instanceAsWindow to convert dialog units, it's not fully constructed yet and can't provide the information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 21:52:54 +00:00
Václav Slavík
984c33c9c7 added \ escaping in XRC (patch 1042675)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-12 10:23:16 +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
Václav Slavík
c369d4f116 added all IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-05 19:19:41 +00:00
Václav Slavík
b3e8529208 wxArtProvider fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-04 13:23:57 +00:00
Václav Slavík
9dc579b3c5 all windows can use wxCLIP_CHILDREN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 19:37:49 +00:00
Václav Slavík
648db587c4 added wxXRC_NO_RELOADING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 22:01:47 +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
0099f3435b OR extra style with existing value or some implementations will
have problems (espec. wxGTK modal dialogs closing behaviour)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 13:28:31 +00:00
Robin Dunn
7539ba5615 Add wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-18 20:14:57 +00:00
Dimitri Schoolwerth
d1f4723592 applied patch #929947: "Various cleaning of warnings under MSW"; removed some tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-06 13:19:42 +00:00
Václav Slavík
496f0a58b1 compilation fix for wxUSE_FILESYSTEM=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 22:30:39 +00:00
Václav Slavík
7b56015f90 make it possible to override translatable status of text entry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 20:10:56 +00:00
Julian Smart
9f4ed8613c Added wxWS_EX_BLOCK_EVENTS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-08 22:20:33 +00:00
Julian Smart
19d0f58d39 Applied patch [ 843965 ] RC/WXRC/XML related contribs and utils cleaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:27:56 +00:00
Mattia Barbon
461932ae60 wxXRC STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-08 18:48:47 +00:00
Václav Slavík
f9d243a306 fixed double filename->URL conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 09:56:30 +00:00
Václav Slavík
d614f51b31 return false from wxXmlResource::Load if the resource is corrupted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-10 09:48:52 +00:00
Robin Dunn
b380439d52 Better #if checks for mac in ProcessPlatformProperty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 21:19:30 +00:00
Václav Slavík
84389518ba __WINDOWS__, not __WXMSW__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-26 20:56:20 +00:00
Václav Slavík
34c6bbeeac moved XML classes to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 22:04:57 +00:00
Václav Slavík
75d3838010 must convert filename to URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 20:27:17 +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
139c5871c9 fix for multiple initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:03:10 +00:00
Václav Slavík
d0b50ad939 better error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 22:28:13 +00:00
Václav Slavík
d003330ce4 attempt to fix platform property problem on MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-30 15:56:31 +00:00
Václav Slavík
76806f5906 fixed loading of resource from ZIP files on MacOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:06:20 +00:00
Václav Slavík
13de23f6d8 XRCID lookup now handles standard IDs correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-22 13:48:29 +00:00
Václav Slavík
8d512476c5 no need to check for 2.3.0 anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 23:12:29 +00:00
Václav Slavík
56acdfef2f use wxFileName::MakeAbsolute istead of Normalize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 00:01:29 +00:00
Václav Slavík
317a0d7361 1. made XRC immune against changing CWD
2. fixed object_ref handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-15 23:14:07 +00:00
Václav Slavík
85452d7496 fixed XRCID() lookup of numeric control IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-26 23:36:34 +00:00
Julian Smart
0fa2e104c5 Partially applied [ 632321 ] XRC object_ref fix
1. Fix object_ref so it at least works, with this I mean
XRC was not even handling the little sample in
tn0014.txt correct.

Hans Van Leemputten (hansvl)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:52:48 +00:00
Václav Slavík
c742a6ae90 removed a forgotten relict of past: xmlbin format extension still used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 23:50:28 +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
Václav Slavík
4dd75a6aaf added wxFrame* wxXmlResource::LoadFrame(parent,name)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-25 12:14:37 +00:00
Robin Dunn
92e898b0b4 Added generic LoadObject methods that can load any classtype from a
resources and return it as a wxObject (Assuming there is a handler for
it.)

Enabled wxFrames and wxDialogs to be loaded using a new instance
rather than only with existing instances.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 02:26:13 +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