Commit Graph

15354 Commits

Author SHA1 Message Date
Mattia Barbon
2a23a89dec Removed duplicated code.
wxTranslateXXXEvent must not alter the XEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 21:03:13 +00:00
Mattia Barbon
088ab98499 Calculate length explicitly (for wxUSE_STL == 1).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:59:24 +00:00
Julian Smart
3c2544bb70 Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
theming (some applications look bad without 3D borders)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 20:44:37 +00:00
Stefan Csomor
48de597b73 API adaptions to MSW EnhMetafile, fixes and extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 14:47:55 +00:00
Julian Smart
7ba6220216 Only scale an image once, which vastly improves the appearance
of scaled images in print and preview


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 14:20:13 +00:00
Julian Smart
29402f455b Allow an app to call SetFont on a PS DC without assertion
(should be possible to use SetFont before StartDoc).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 13:32:24 +00:00
Stefan Csomor
21956470c7 safe destruction, even if redraws might be triggered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 10:47:57 +00:00
Chris Elliott
b2247ee93b final part of SF patch #904166 (DMC fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 10:46:59 +00:00
Stefan Csomor
6898822480 casting for CW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 09:39:51 +00:00
Stefan Csomor
d206654397 tentative fix for http://sourceforge.net/tracker/index.php?func=detail&aid=908712&group_id=9863&atid=109863
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 09:39:02 +00:00
Stefan Csomor
f3a355ceb3 added conversions via UniChar for wchar = 4 bytes versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 09:24:02 +00:00
Stefan Csomor
604b66c10b added comment about array, switched intepretation of IsRunning to MSW meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 07:17:32 +00:00
David Elliott
0092ef0d53 s/wxTopLevelWindow/wxTopLevelWindowCocoa/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 03:44:20 +00:00
David Elliott
7a8691eec8 Constructor now takes a wxTopLevelWindow * = NULL so that the new
GetWxTopLevelWindow() method can be used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 03:35:06 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Stefan Neis
3c221c5088 Compilation fix for OS/2 specific "Innotek gcc" port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 17:23:22 +00:00
Robert Roebling
47e118ba9a GPE uses generic dialogs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 15:27:11 +00:00
Robert Roebling
62be94e1b1 make use of GPE feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 13:18:08 +00:00
Stefan Csomor
b93f383244 since drawtext does not have to take linefeeds into account, they're #if 0'ed now. fix for background colors in text using classic quickdraw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-27 10:07:24 +00:00
David Elliott
7dd8b1ea10 Make wxMenuItemAction: and validateMenuItem: delegate messages take an
NSWindow* parameter instead of an id.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-27 06:07:47 +00:00
Vadim Zeitlin
118208ac3b fix showing toolbar tooltips (we were using a pointer to a temporary object so it mostly _appeared_ to work but really didn't)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-27 00:24:13 +00:00
Václav Slavík
c76b647492 fixed invalid memory read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 21:49:54 +00:00
Stefan Csomor
634bafa9eb attempt to tame composite data objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 17:02:00 +00:00
David Webster
53ac3021de Bad update last night. Compiler error fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 14:57:18 +00:00
Stefan Csomor
2dd35daad1 Pending() fixed for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 11:01:54 +00:00
Stefan Csomor
09322209d8 adjusted LB_EXTENDED and LB_MULTIPLE to wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 07:52:17 +00:00
Stefan Csomor
9f2bfce7b2 fixed crash when no wx menubar is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 07:28:25 +00:00
Stefan Csomor
b635e17fef reverting best size calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-26 07:09:13 +00:00