Commit Graph

21770 Commits

Author SHA1 Message Date
Robin Dunn
fb89cfc537 Fix for [ 907679 ] segfault on SetSizerAndFit after SetSizer
Don't do anything if setting the same sizer again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 02:06:09 +00:00
Robin Dunn
d19a83a5ac Added a typemap that converts the references returned for some GDI
objects (Brush, Pen, Font, etc.) into copies, (taking advantage of the
copy-on-write capabilities of the C++ class.)  This is to work around
an issue where getting a GDI object changing it and setting it back to
the DC would trigger an incorrect optimization.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 02:02:28 +00:00
Robin Dunn
36c8c4718a fixed some docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 01:59:49 +00:00
Robin Dunn
96577d6d7a Fixed wxWindow_FromHWND so it would compile (still untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 01:57:10 +00:00
Robin Dunn
a5deb2fbe7 Fixed some wx prefix issues, changed the self test to use a sizer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 01:50:39 +00:00
Robin Dunn
2d112dc2a3 Removed some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:54:02 +00:00
Robin Dunn
1f443284e1 Updates for STCStyleEditor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:51:23 +00:00
Robin Dunn
51ba037fa8 copy the metadata file into the docs archive too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:50:39 +00:00
Robin Dunn
e8a71fa08c Namechange changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:49:39 +00:00
Robin Dunn
2f4ad68c32 Docstring tweaks, fixed typo, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:47:24 +00:00
Robin Dunn
6e7db3c845 Added InReportView
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:46:38 +00:00
Robin Dunn
11f0bb6988 Docstring tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:45:47 +00:00
Robin Dunn
6606583981 Fixed wx.Timer to not need to hold an extra reference to itself, so it
can be cleaned up properly when the Python reference to it is
released.  Also fixed wx.FutureCall so that its timer can be
restarted.  Souped up the Timer demo to show and explain the various
ways to use a wx.Timer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:44:42 +00:00
Václav Slavík
a5441ce3a5 return version of GTK+ library the app links against, not the one it was compiled with
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:36:07 +00:00
David Elliott
cf83f7c617 Removed unncessary includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 20:48:57 +00:00
Vadim Zeitlin
a1037371af wxWindow::Freeze()/Thaw() can now be nested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 18:15:00 +00:00
Vadim Zeitlin
c040ce40a2 updated VC build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 18:00:38 +00:00
David Elliott
205fef01e0 Implement wxMenuItemAction and validateMenuItem delegate virtuals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 13:58:54 +00:00
Chris Elliott
fb21f36d92 part of SF patch #904166 (DMC fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 11:03:07 +00:00
Chris Elliott
8183307507 part of SF patch #904166 (DMC fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 09:28:32 +00:00
Chris Elliott
edff734975 apply SF patch #907546 (DMC fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 09:15:24 +00:00
David Elliott
522e2aa861 SendDestroyEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 05:26:57 +00:00
David Webster
357b66eb5b Unused variable removed from inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 04:27:54 +00:00
Robin Dunn
17256d1ed0 Trim trailing spaces from key names when parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 02:41:25 +00:00
Robert Roebling
75a22e8106 Only when wxTE-PROCESS_ENTER has been set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 23:31:16 +00:00
Robert Roebling
4a11cca24d Spin control now emits TEXT_ENTER commands.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 23:28:50 +00:00
Robert Roebling
16dce3b37b Applied patch for generic file dialog Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 22:54:20 +00:00
Robert Roebling
055e633de6 Make multi-line text control focussable
by using tabs under GTK 2.0.
  Make hitting ENTER in a wxSpinCtrl to
    activate the default button work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 22:42:07 +00:00
Robert Roebling
ae7cbd1a1f Made space around text symmetric.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 22:17:56 +00:00
Mattia Barbon
000a825371 Remove deprecated copystring() usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 21:48:05 +00:00
Vadim Zeitlin
68cb648117 mention Win9x size limitation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 20:54:59 +00:00
David Webster
9923c37dcc Warning suppressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-01 06:24:20 +00:00
Vadim Zeitlin
52d9d823a1 check for NULL pointer returned by wxFontEnumerator::GetFacenames() (it actually happens under Cocoa and could conceivably happen elsewhere as well...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:54:46 +00:00
Vadim Zeitlin
793db75554 renamed start parameter of wxDC::DrawPolyPolygon() to count (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:34:01 +00:00
Vadim Zeitlin
163dc80eff docs and example for wxDC::DrawPolyPolygon() (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:31:02 +00:00
Vadim Zeitlin
b5d43d1d73 use HasFlag() and InXXX() instead of explicit flag testing (patch 899507)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 23:24:35 +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
Vadim Zeitlin
c5e2dc6f5b removed erroneous return type from a membersection (patch 905562)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 22:26:40 +00:00
Vadim Zeitlin
1ad6d522ed honour the 2nd parameter of DeleteEntry() instead of always deleting empty groups unconditionally (patch 896303)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 22:25:28 +00:00
Vadim Zeitlin
c79ba234fa update from Jonas for 2.5.1 (patch 901921)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 22:17:08 +00:00
Mattia Barbon
e4f3eb42f2 Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 15:21:11 +00:00
Mattia Barbon
4b5e5cfb22 Added wxRTTI information to wxNumberEntryDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 15:18:21 +00:00
Mattia Barbon
9c592b6165 STL fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 15:15:59 +00:00
Mattia Barbon
08938fe1b5 The DND sample shows both clipboard and drag'n'drop functionality,
as such it can work with just wxUSE_CLIPBOARD.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 15:14:24 +00:00
Julian Smart
6b707fc394 Specify tree control in event table to avoid problems with stray tree events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 13:05:20 +00:00
Julian Smart
04bf08b7e2 Some doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-29 13:02:01 +00:00
Václav Slavík
ced5554416 fixed wxDebugContext to work with global and static objects (patch 901031)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 23:57:54 +00:00
Václav Slavík
121680bff0 reverted rev 1.26, workarounds for memchecking code no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 23:57:15 +00:00
Václav Slavík
b598205862 another cleanup of constraints code in samples (patch #906438)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 21:13:00 +00:00
Stefan Neis
90c86c0ca3 Compilation fix for Innotek gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 19:19:44 +00:00