Stefan Csomor
7eb8aeb8b1
using statically allocated font objects for speedup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-08 18:47:41 +00:00
Stefan Csomor
c4a7e284fd
borders might have to be drawn differently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-07 18:42:08 +00:00
Stefan Csomor
4cc16dcb8b
using native fullscreen support and ShowEvent triggers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-03 16:53:34 +00:00
Kevin Ollivier
809020fc97
Disable sending of events by OS X Combobox during programmatic changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-19 03:00:07 +00:00
Kevin Ollivier
a7b9865d30
Basic support for tooltips under OS X Cocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-13 06:30:06 +00:00
Kevin Ollivier
8301a0e89d
Handle deprecated style so we don't assert and then crash.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-06 16:32:11 +00:00
Paul Cornett
65391c8ffc
minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-05 19:57:58 +00:00
Kevin Ollivier
4f6bcb8390
Don't assert when we get wxBG_STYLE_TRANSPARENT.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-14 19:52:26 +00:00
Stefan Csomor
f2d5064cca
adding support for wxShowEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-06 17:33:55 +00:00
Stefan Csomor
b2665b8676
avoiding deprecated methods in wx code, avoiding for iphone builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-09 17:02:48 +00:00
Vadim Zeitlin
ab9a0b84de
Implement wxWindow::ShowWithEffect() for wxOSX/Cocoa.
...
This version animates the window asynchronously and is being checked in just
to preserve it in svn if we later decide to return to this semantics. It will
be replaced by synchronous animation in the next commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-05 22:57:59 +00:00
Julian Smart
2ae3afa09f
Applied #9076 (scrolling bars grow box fix)
...
By lillo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 07:06:14 +00:00
Julian Smart
b80fdc0299
Raise the scrollbars on reparenting (part of patch #9076 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 16:15:04 +00:00
Julian Smart
1508fcaccd
Applied #10753 : WarpPointer() for Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-25 09:57:41 +00:00
Stefan Csomor
0a84f928e9
moving themeing include to private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-21 12:57:12 +00:00
Vadim Zeitlin
b3b17ee743
Fix recurring typo in "theming".
...
It was (consistently) misspelt as "themeing" in several places.
Closes #11206 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-18 16:16:30 +00:00
Vadim Zeitlin
03647350fc
No changes, just removed hard tabs and trailing white space.
...
This commit is huge but there are no non-white-space changes in it.
Some files containing third-party sources (src/msw/wince/time.cpp,
src/x11/pango*.cpp) were left unchanged.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-21 10:41:26 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Stefan Csomor
11fed901d1
adding #ifs for reflecting existing controls, fixing #ifdefs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-10 17:53:56 +00:00
Vadim Zeitlin
8c6c5778c2
invalidate best window size when its label changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-22 20:07:50 +00:00
Stefan Csomor
773809f57c
simplify condition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-20 23:07:44 +00:00
Vadim Zeitlin
bad6c5e264
no need to check for wxID_HELP buttons in SetLabel() now that it's overridden in wxButton itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 23:36:35 +00:00
Vadim Zeitlin
ced2fad6f2
only erase background if we do have a non-default background set
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 00:01:40 +00:00
Vadim Zeitlin
6a5594e00d
erase background using the window background colour when using wxBG_STYLE_ERASE/SYSTEM
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 23:00:49 +00:00
Vadim Zeitlin
69ce9cea39
implement propert background style semantics for OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 15:33:51 +00:00
Julian Smart
77a246e118
Avoid accidental enabling of disabled windows by checking for disabled parent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 16:32:22 +00:00
Vadim Zeitlin
6de7047076
add virtual DoGetTextExtent() to allow calling the overloaded wxWindowBase::GetTextExtent() on wxWindow objects without any ugly casts/scope resolution operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 16:41:41 +00:00
Stefan Csomor
f1b1c779a9
making sure min and max sizes can be overridden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 20:05:47 +00:00
Stefan Csomor
f06e0fea67
focus handling streamlined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-25 10:24:51 +00:00
Stefan Csomor
0faf03bf97
fixing warnings in osx common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 15:17:22 +00:00
Stefan Csomor
d4e4ba484d
make it crash-proof
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-21 14:24:13 +00:00
Stefan Csomor
b2088388cc
reworked font handling for osx (was missing because of conflicts)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-20 15:07:31 +00:00
Kevin Ollivier
423939b29a
On OS X, the button for wxID_HELP should never accept a label, also, tweak sizing for help button in OS X Cocoa case. ( fixes #10595 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 19:03:58 +00:00
Kevin Ollivier
7185918d69
Fix for accessing m_peer during initialization.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 04:29:42 +00:00
Stefan Csomor
f2f6030e9c
letting the peer declare whether it wants to draw its borders itself (eg the search control has a round border on mac)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 10:02:25 +00:00
Paul Cornett
58d439cf5a
unused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 07:37:32 +00:00
Stefan Csomor
45f5bb03d5
paint event was missing the id, Connect not working for this otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-13 19:21:51 +00:00
Stefan Csomor
5398a2e050
common drawing code for osx-cocoa and osx-carbon, also since 10.5 HIShapeRef is in ApplicationServices, so this can be used for all osx-cocoa builds as native wxRegion implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-09 09:01:19 +00:00
Stefan Csomor
4dd9fdf827
reworking event handling to redirect to c++ virtual functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:25:58 +00:00
Robert Roebling
e47e063af2
Add wxSIZE_FORCE_EVENT and use is from wxSizerItem::SetDimension
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 20:10:44 +00:00
Robert Roebling
4eb5a0ec04
Give some OSX specific methods OSX prefix, fixes hidden virtual method warning elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 08:36:16 +00:00
Vadim Zeitlin
c6212a0cb7
set m_isBeingDeleted to true (only) in SendDestroyEvent(); call it as early as possible during the window destruction to ensure that destroy event handlers can still access the full window object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 18:33:33 +00:00
Stefan Csomor
19c7ac3d3b
streamlining slider, scroller, spinbutton for osx carbon and cocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 14:27:26 +00:00
Vadim Zeitlin
d3b9f782ef
don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:27 +00:00
Stefan Csomor
54f1106086
mouse and cursor additions for cocoa, see #10361
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 16:10:46 +00:00
Stefan Csomor
0c530e5a67
fixing controls with content areas, correcting radiobox layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 11:31:02 +00:00
Stefan Csomor
5f1b3295f8
removing duplicate code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 04:38:16 +00:00
Stefan Csomor
7ac5e1c908
adding 10.4 build compatibility for osx cocoa, see #10361
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 20:14:39 +00:00
Stefan Csomor
2cb5d2d2b7
supporting PopUp on osx cocoa as well, see #10361
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 14:43:22 +00:00
Vadim Zeitlin
0b1ca1177d
no need to test that the pointer is non-NULL before deleting it ( closes #10070 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 10:35:07 +00:00