Stefan Csomor
531436ec3d
release does not assert on empty bitmaps anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 15:40:55 +00:00
Włodzimierz Skiba
da865fdd32
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +00:00
Stefan Csomor
4d7528a1df
use EditUnicodeText control for single lines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 13:58:51 +00:00
Dimitri Schoolwerth
6d8edd32b5
fixed cases where __WXMAC_CLASSIC__, __WXMAC_CARBON__, and __WXMAC_OSX__ were being treated as 0/1 value instead of (un)defined symbol
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 10:34:56 +00:00
Robin Dunn
29998406a8
Use the validator given
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 22:57:32 +00:00
Kevin Hock
1804e89886
Remove unused variable "Point topleft" in ScrollRect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 18:20:03 +00:00
Stefan Csomor
823c4e96f9
always forcing a relayout when position changes, making mlte a system option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 16:38:14 +00:00
Stefan Csomor
c9698388a2
invalidating vis regions upon tlw resize as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 13:41:48 +00:00
Stefan Csomor
807c0706e6
updating positioning after embedding is set correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 05:36:52 +00:00
Stefan Csomor
dc7ccb9c5d
moving wxMac to new printing architecture
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 16:36:36 +00:00
Stefan Csomor
b343fb9fb9
fix for #1106519
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 11:55:56 +00:00
Dimitri Schoolwerth
61c747cda0
fixed Carbon compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 09:39:52 +00:00
Stefan Csomor
ba75e603f6
adding correct handling of uncovering or covering controls via tlw-resizes (in which case the txnBounds would not change)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:28:31 +00:00
Stefan Csomor
e905b636b6
adding protected inquiry function whether a child window belongs to the 'client' or the 'non-client' area, examples for the latter are toolbar, scrollbars etc
...
adding another cached clip rect for the real client area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:17:24 +00:00
Stefan Csomor
c447d5a937
setting the view rectangle explicitely to allow for partial visibility of a control (scrollsub)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 17:27:57 +00:00
Stefan Csomor
5c840e5ba4
calculating vis regions as rects (faster for Quartz) and caching the results for all implementations
...
fixing the background erase event always to have a wxWindowDC (had a wxClientDC in non-toplevel cases before, leading to a off-by-border error when erasing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 17:25:53 +00:00
Stefan Csomor
4611a719d4
cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 05:14:35 +00:00
Stefan Csomor
8adc196b0e
content clipping becomes a runtime attribute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 05:12:46 +00:00
Stefan Csomor
55d0b18027
turning off carbon events for testing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:05:51 +00:00
Stefan Csomor
f474cc8ca4
allowing 10.2 based compiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 18:33:48 +00:00
Julian Smart
2a1f999faf
Applied patch [ 1171542 ] access static class members via scoping operator
...
Paul Cornett: A static class member can be accessed as X::member,
there is no need for an object or pointer (s.member or
p->member). There are also a few bugs with incorrect
usage of wxString::Format and wxString::FromAscii.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:49:41 +00:00
Stefan Csomor
8e15e610d1
avoiding caret in all textctrls in 10.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:33:37 +00:00
Julian Smart
4b524c27cc
Applied patch [ 1161769 ] reference to temp object in carbon/palette.cpp
...
Potentially unsafe (and obsolete) constructor removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:47:29 +00:00
Stefan Csomor
bd2213c20d
propagating visibility states into MLTE (otherwise it is 'stealing' events at the top window level)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:08:41 +00:00
Stefan Csomor
d60f41f2b4
giving correct 'pressed' visual feedback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 08:29:33 +00:00
Stefan Csomor
8f2ee25db4
applying OSAF patch for "toolbar selection not correct on Mac after calling Realize a 2nd time"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 07:53:48 +00:00
Stefan Csomor
be5fe3aafb
making removal and re-inserting possible
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 07:33:28 +00:00
Stefan Csomor
9234615181
unifying redraw and scrolling calls between compositing and non-compositing modes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 05:42:49 +00:00
Stefan Csomor
9942b0b587
guarding against calls in the destruction sequence of a window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 04:52:01 +00:00
Stefan Csomor
66b80661e4
fixing small scrollbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 15:49:44 +00:00
Stefan Csomor
17dfb61189
going back to 16x16 standard size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 15:41:02 +00:00
Stefan Csomor
488b2c29c0
destroying native and wx controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 13:09:31 +00:00
Stefan Csomor
7aabb2acd3
that was a memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:45:38 +00:00
Stefan Csomor
37a87c6709
using correct icon sizes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:45:23 +00:00
Stefan Csomor
38e605eb82
avoiding illegal window styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:45:05 +00:00
Stefan Csomor
b337acd7a0
switching implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:44:12 +00:00
Stefan Csomor
6ce43ac97d
we need our own implementation because in wxmac wxIcon does not inherit from wxBitmap anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 08:35:15 +00:00
Kevin Hock
ec8565f3c5
Added __WXMAC_OSX__ guards around the CFRunLoop calls, CFRunLoop not available on CFM [ followup on Patch 1160346 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 04:08:51 +00:00
Kevin Hock
95e568ee3e
Create RunLoop that can be used to process pending events so that events will still be processed while the user is using a menu or scrollbar [ Patch 1160346 ] - this really needs to be in 2.5.5 so it can be widely tested before 2.6.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 18:47:46 +00:00
Stefan Csomor
bc2b0c1b2b
correcting DoGetPosition for windows with borders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:39:33 +00:00
Stefan Csomor
6fe1627ca0
correct scrolling and clipping of list headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 05:12:57 +00:00
Stefan Csomor
28dd2407e1
adding font fallbacks for non existing glyphs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 17:42:16 +00:00
Stefan Csomor
2539aa882d
create a true empty string and not a null CFStringRef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-25 16:34:55 +00:00
Vadim Zeitlin
44353523d8
document (and check for it with assert) that wxGetKeyState(WXK_[LMR]BUTTON) doesn't work (patch 1156279)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:05:16 +00:00
Vadim Zeitlin
0d97c09023
added orient parameter to wxMDIParentFrame::Tile()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 12:27:49 +00:00
Dimitri Schoolwerth
d2103c8ca5
fixed signed/unsigned mismatch warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 00:16:53 +00:00
Vadim Zeitlin
294ea16de3
implemented wxMenuBar ctor taking array of menus/titles for all ports; added optional flags argument to it (patch 1162726)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:45:24 +00:00
Kevin Hock
3e275c2d1d
Unlike the preferences item which should only be enabled if it exists and is enabled, the quit item should be enabled unless it both exists and is disabled, otherwise Quit will not be enabled unless the application specifically adds wxID_EXIT. This should fix David's bug but still retain the old functionality. [ modified previously committed patch 1160343 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 16:03:17 +00:00
Kevin Hock
e9626c1b1f
Quit application menu item needs special handling like the Preferences item. [ patch 1160343 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 05:16:55 +00:00
Włodzimierz Skiba
e5b5075810
Base for wxMessageDialog with common checks for style.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:34:42 +00:00