Commit Graph

262 Commits

Author SHA1 Message Date
Włodzimierz Skiba
3dee36ae33 [1231183] 'cleanup: mismatched indentation' and other cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 18:08:18 +00:00
Julian Smart
50779e0648 Applied patch [ 1215991 ] Mac xrc enables unknown class
Implements Reparent for Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 18:03:43 +00:00
Stefan Csomor
67f28607c8 guard against erases during tlw window destruction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 17:49:18 +00:00
Włodzimierz Skiba
902725eefe Source cleaning inspired by and included in patch '[ 1215450 ] cleanup: unreachable code.'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 16:47:04 +00:00
Stefan Csomor
c6e7099c5d no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 07:31:04 +00:00
Stefan Csomor
fd04970ab4 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-10 06:30:03 +00:00
Stefan Csomor
d35bd4992e fixing redraw region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 06:02:16 +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
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
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
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
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
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
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
8f39b6c48e border handling streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 09:15:01 +00:00
Stefan Csomor
a86831340f make sure we don't have two associations pointing to the same control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 15:46:31 +00:00
Ryan Norton
5e0526df03 wxUSE_TOOLTIPS and wxUSE_IMAGE furthur fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 11:30:21 +00:00
Stefan Csomor
e661674164 10.2 additions for non compositing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 09:30:12 +00:00
Stefan Csomor
04d4e6846e ommission
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 14:58:09 +00:00
Stefan Csomor
21638402ef cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 14:57:25 +00:00
Stefan Csomor
1f1c8bd4d1 moving compositing knowledge into utility classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 14:47:09 +00:00
Stefan Csomor
76c7012c6f cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 09:51:45 +00:00
Stefan Csomor
02a55765c4 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 09:49:19 +00:00
Stefan Csomor
789ae0cfa2 reintroducing non-composited functionality due to DataBrowser Bugs under 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 09:10:52 +00:00
Stefan Csomor
29ee02dfe1 avoid negative widths, moved deeper down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 13:49:49 +00:00
Stefan Csomor
c0624ca254 avoid negative widths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 13:45:33 +00:00
Stefan Csomor
91ae6e3a94 notifying children of absolute position changes, add version checks instead of symbol checks, so that CW builds do not complain on 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 14:09:08 +00:00
Stefan Csomor
6449b3a8e9 carbon cfm fixes, factoring code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 15:52:05 +00:00
Stefan Csomor
542f604ff6 carbon cfm / classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 13:50:19 +00:00
Stefan Csomor
4a63451be5 fixes, adding paint handler for non OSX case toplevel window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 15:30:16 +00:00
Stefan Csomor
c79aad8b24 moving focus and border handling at one place, adding HITheme implementations, grow-box painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 06:15:22 +00:00
Stefan Csomor
d1fabc1211 source compatible way to solve the background problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 16:48:00 +00:00
Stefan Csomor
ff3795eeaf default painting back to OnPaint handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 14:28:11 +00:00
Stefan Csomor
cb4b09661b adding focus and border quartz support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-13 07:36:49 +00:00
Stefan Csomor
20b6985553 Mac Core Graphics Implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 11:34:05 +00:00
Stefan Csomor
3d1a4878f3 pragma and prec-header patch applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-27 21:05:47 +00:00
Kevin Hock
11ca2edf95 We need to update the scrollbar even if it's not shown, otherwise it can get stuck in a scrolled down position when the scrollbar disappears (such as deleting all items in a list control or resizing). Patch 1102197 for bug 861063
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 22:16:36 +00:00
Kevin Hock
687706f5e7 Use event modifiers and accessors rather than m_ variables directly, which are now protected rather than public with 2.4 compatibility disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:08:15 +00:00
Stefan Csomor
66ffb23b39 making sure we don't say we are visible while in destruction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 05:51:02 +00:00
Stefan Csomor
0842200308 scrolling hack (always move our own scrollbars highest in z-order)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 15:22:49 +00:00
Stefan Csomor
7596e51dbc fixing memory leak (reported by Ken Thomases)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 07:13:43 +00:00
Stefan Csomor
375bb200e3 removed explicit IDs for scrollbars on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 17:42:50 +00:00
Ryan Norton
71f2fb52d5 Enable stl compilation with wxMac - unicode no work on 10.2 though. Modded patch 1051991.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 06:57:02 +00:00
Ryan Norton
e3e817d4ac [ 1057587 ] MacOSX build fails with --disable-gauge or --disable-spinbtn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 01:03:08 +00:00
Stefan Csomor
2c899c2010 guard against m_peer = NULL in Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 11:51:43 +00:00
Vadim Zeitlin
488abb222a call AddChild() when the control is already reallly created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 15:00:40 +00:00
Václav Slavík
0fe0275981 changes to make wxWindow::FindFocus work as expected with composite controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:34:28 +00:00
Stefan Csomor
7f17ac744d dependency fix for clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 14:08:19 +00:00
Ryan Norton
957f865c97 unused variable warning fix - move unused stuff to proper place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-23 17:28:20 +00:00