Commit Graph

45669 Commits

Author SHA1 Message Date
Jaakko Salli
36a403e0d5 Must still delete m_cells items by explicit type (since, after all, it was not yet converted to wxVector from wxArrayPtrVoid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 16:29:34 +00:00
Vadim Zeitlin
e5bb501b98 return false if the file passed to Load() doesn't exist or is an archive without XRC files inside
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:51:25 +00:00
Jaakko Salli
14c140606b Minor additional clipper window related code and comment tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:31:23 +00:00
Vadim Zeitlin
e9d2b75fb5 fix off by one byg in ReserveId() (closes #10020)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:30:41 +00:00
Vadim Zeitlin
73d28bdf3b don't build memcheck (fails in release) and MFC (fails if MFC is not available) samples by default (#10031)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:29:00 +00:00
Jaakko Salli
7adf8bf391 Remove wxPGClipperWindow, use wxBORDER_NONE instead of wxNO_BORDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:23:00 +00:00
Vadim Zeitlin
58481138c8 merged docvwmdi sample into docview one to avoid having 2 almost identical samples; and modernized and cleaned up the code in the process (and now with forgotten configure changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:17:15 +00:00
Vadim Zeitlin
2d1df0fc58 merged docvwmdi sample into docview one to avoid having 2 almost identical samples; and modernized and cleaned up the code in the process
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:16:01 +00:00
Vadim Zeitlin
73eca6fd4b corrected samples.h location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:13:29 +00:00
Vadim Zeitlin
58a10959fd update samples page location after switch to Doxygen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:10:44 +00:00
Jaakko Salli
63f62e764c Further fix m_children use with wxUSE_STL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 15:08:48 +00:00
Vadim Zeitlin
6b18f6b7db no changes, just removed commented out code accidentally checked in as part of r37393
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 12:13:21 +00:00
Jouk Jansen
8cf694d4ea adding variable initialization to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 11:42:02 +00:00
Jouk Jansen
0d59e2639d solving missing definitions in include/wx/x11/cursor.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-03 07:42:19 +00:00
Michael Wetherell
ff001ada4c Update from Laurent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 23:47:06 +00:00
Vadim Zeitlin
bb25a741c2 honour wx{CLOSE,MINIMIZE,MAXIMIZE}_BOX even for borderless windows; also always allow moving the windows as we don't have a special style to enable/disable this (#10029)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 23:44:51 +00:00
Jaakko Salli
1766bf3453 SetButtonShortcut() merged with action system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 16:02:20 +00:00
Jaakko Salli
5ecd2ba500 Updated docs, removed SetPropertyModifiedStatus() (use wxPGProperty::SetModifiedStatus() instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 15:47:36 +00:00
Jaakko Salli
89b4415803 Moved ClearModifiedStatus() to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 15:36:24 +00:00
Jaakko Salli
d4cd6b3e0e Added missing propgrid related lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-02 14:37:53 +00:00
Václav Slavík
07c2258057 wxSpinButton was missing in XRC spec, added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 19:57:40 +00:00
Václav Slavík
033508e1b1 get rid of public constants for various XRC defaults, there's no need for them outside of XRC loader
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 19:54:57 +00:00
Jaakko Salli
c80f436e83 Recognize lack of wxTAB_TRAVERSAL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:56:04 +00:00
Jaakko Salli
fe6ee7ec10 Use wxPendingDelete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:43:06 +00:00
Jaakko Salli
474b0ba488 Added useful comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:20:11 +00:00
Jaakko Salli
0fd5c4019c Fixed wxPG sourceforge tracker bug #2138858, applied other appropriate uses of GetEditorControl() as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:11:10 +00:00
Vadim Zeitlin
b54129836c add a more readable wrapper for CreateDocument(wxEmptyString, wxDOC_NEW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 17:04:43 +00:00
Jaakko Salli
0d4884cbf3 Unfocus text editor when enter is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 16:24:21 +00:00
Jaakko Salli
d8c74d044b Use m_children as it were std::vector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 15:13:00 +00:00
Julian Smart
cfceb4a8e0 Only ignore Alt down on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:55:54 +00:00
Julian Smart
91babb9d5c Now accepts keys that are generated with Alt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 14:44:55 +00:00
Vadim Zeitlin
ec07419336 don't distribute negative extra space among box sizer items, this isn't useful as it results in overlapping windows (#10008)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 13:57:53 +00:00
Václav Slavík
baa637de7d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 11:29:11 +00:00
Benjamin Williams
7bce84396e applied patch from ticket 10015; wxToolBar compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 10:42:50 +00:00
Václav Slavík
be42eeb0c3 finished XRC format specification: added docs for all standard controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 10:25:45 +00:00
Stefan Csomor
81e0b3d978 copying sizes upon construction, HDC doesn't deliver these values reliably for things like memory dcs, fixes #10012
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 09:38:33 +00:00
Stefan Csomor
4fff14c955 fixing release handling of dc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 08:09:45 +00:00
Jouk Jansen
e98c72eccb wxMOTIF ?: wxcursor:wxcursor overload fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 07:18:14 +00:00
Václav Slavík
61f6ba079c don't cache tray protocol availability result in wxTaskBarIconAreaBase::IsProtocolSupported(), it may change at runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 20:55:52 +00:00
Václav Slavík
cf78bdcb68 added wxTaskBarIcon::IsAvailable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 20:54:02 +00:00
Stefan Csomor
b15f9375cb supporting NO_BORDER for Cocoa as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 19:28:06 +00:00
Jaakko Salli
f7a094e1af Converted various wxArrayPtrVoids to wxVectors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 17:23:27 +00:00
Jaakko Salli
7eaed395dd Fixed Connect() use sample case in CreateControls() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:50:31 +00:00
Jaakko Salli
6d24f9a939 Fix Connect() calls in SetupChildEventHandling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:46:36 +00:00
Jaakko Salli
28fb19ef29 Try to make SetupChildEventHandling() more foolproof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:33:43 +00:00
Michael Wetherell
9932114546 Update from Brian.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:12:36 +00:00
Jaakko Salli
47e343c6bf Added missing dllimpexp declaration, added missing GetFailureBehavior() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 15:36:52 +00:00
Václav Slavík
d4b7035be4 fixed incorrect separators markup in samples/xrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 15:04:32 +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
Stefan Csomor
24c7547c13 performance fix by Tim Kosse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 11:59:06 +00:00