Stefan Csomor
55a0f1e303
adding support for iphone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-20 16:36:16 +00:00
Stefan Csomor
68388fdd67
fixing copy paste error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-20 12:39:08 +00:00
Stefan Csomor
dfdad1f936
adapting to new API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-20 12:06:48 +00:00
Stefan Csomor
4919fd67c7
not needed anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-19 13:39:56 +00:00
Stefan Csomor
1020adb5f5
adding methoddefs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-19 07:25:46 +00:00
Vadim Zeitlin
7282b0678a
Replace wxTINY_CAPTION_{HORIZ,VERT} with a single wxTINY_CAPTION.
...
These two styles were always equivalent so we can just as well replace them
with a single one and stop wasting an extra bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-10 21:09:57 +00:00
Václav Slavík
a0219e4580
Move wxFileHistory out of docview framework, add wxUSE_FILE_HISTORY.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-04 12:15:14 +00:00
Stefan Csomor
719ddf1e4e
updated headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-30 18:29:43 +00:00
Stefan Csomor
170ea46e84
textctrl impl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-30 18:29:17 +00:00
Francesco Montorsi
b1153ed60f
no real change: just fix RCS-ID so that it reflects the current revision number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-25 21:33:16 +00:00
Vadim Zeitlin
6a57bd93ad
Remove unnecessary duplicate code dealing with invoking window from wxOSX.
...
This is roughly the same as r64127 for wxGTK but for wxOSX: don't duplicate
the functionality already present in the base class in Mac-specific way. Just
use wxMenu::GetWindow() instead of painstakingly propagating invoking window
changes via the entire menu hierarchy.
Also attach the root menu used in wxOSX to the menu bar to ensure that the
correct window can be found for all its menus.
Closes #11990 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-24 20:39:44 +00:00
Stefan Csomor
3328e0ca26
missed in r64093
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-22 07:00:32 +00:00
Stefan Csomor
7934e44732
overriding the cfrunloop accessor, during booting cocoa has to create a NSRunLoop earlier
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-22 06:16:34 +00:00
Stefan Csomor
445e564f12
tracking open modal dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-20 19:09:38 +00:00
Stefan Csomor
075e355305
having common API for mapping between native and wx tlw type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-20 14:55:42 +00:00
Stefan Csomor
447e2772a6
type of wrapped window can be any NSWindow, not only our own classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-20 14:55:10 +00:00
Stefan Csomor
e86d68934f
TODO done
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-20 14:54:32 +00:00
Stefan Csomor
638b3cd7a8
wrap native TLWs so that they also appear in the tlw list
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-20 14:51:54 +00:00
Stefan Csomor
2f30930a09
streamlining code for extra controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-18 13:17:16 +00:00
Stefan Csomor
bc5c09a3aa
translating background style BG_PAINT into opaqueness for speed-up of OS redraws, supporting positioning for native carbon controls also on non-composited windows (custom pane in navservices dialogs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-16 06:18:16 +00:00
Stefan Csomor
61ad44c7a9
adding support for extraControl on osx_carbon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-13 20:27:04 +00:00
Stefan Csomor
17e2694c59
adding wrapping possibility for native tlws
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-13 20:24:59 +00:00
Stefan Csomor
b61b8371b0
correcting alpha and removing window shadow for overlay
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-12 20:39:51 +00:00
Stefan Csomor
59d866ad85
name change to correctly reflect the autorelease nature of the methods, removing double release, fixes #11547 , fixes #11760
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-12 16:29:35 +00:00
Stefan Csomor
82f8ea8547
change grow box implementation - was incorrectly getting the focus in panels before
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-12 11:59:47 +00:00
Stefan Csomor
13f0c85aa4
cocoa implementation for overlay
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-11 09:26:31 +00:00
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
cfb0ef701e
allowing direct native tlw modal loops
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-08 09:46:36 +00:00
Vadim Zeitlin
356fd0b532
Add wxTextEntryBase::ForwardEnableTextChangedEvents().
...
Use this method to forward the status of text events in the implementation of
wxComboBox in wxOSX/Carbon. This ensures that the events are correctly [not]
generated when various wxComboBox methods are called.
The unit tests now also pass with wxOSX/Carbon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-06 18:46:35 +00:00
Vadim Zeitlin
e567904ae6
Fix text text changed events sending in OS X combo box and text control.
...
Don't duplicate needlessly wxTextEntry functionality in wxTextCtrl.
Don't clear the combobox text entry part twice in wxComboBox::DoClear(), it is
supposed to only clear the item container contents as the base class Clear()
already calls wxTextEntry::Clear().
Do send text updated events from wxTextEntry itself as it applies to
wxComboBox just as well as to wxTextCtrl.
The unit tests now pass under wxOSX/Cocoa, not breaking them again would be
appreciated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-06 18:46:29 +00:00
Vadim Zeitlin
005ac806ea
Remove duplicated GetTextPeer() definitions from derived classes.
...
GetTextPeer() may be implemented directly in wxTextEntry under OS X, there is
no need to define it (identically) in wxTextCtrl and wxComboBox.
Also just call this method instead of duplicating its code in wxOSX
wxTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-06 18:46:14 +00:00
Stefan Csomor
ac349b6e66
adding clipboard events, fixes #11906
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-06 16:51:12 +00:00
Vadim Zeitlin
cc16513e28
Correct check for MSVC version in wxUSE_GRAPHICS_CONTEXT definition.
...
Set wxUSE_GRAPHICS_CONTEXT to 1 by default for MSVC 7.1+ and not 8+.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-06 13:55:30 +00:00
Vadim Zeitlin
961f4d0ce6
Correct compilation breakage of r63832.
...
wx/setup.h can't use wxCHECK_VISUALC_VERSION() which is defined in
wx/platform.h _after_ wx/setup.h inclusion.
Replace wxCHECK_VISUALC_VERSION() with manual tests for _MSC_VER.
Also add more comments to explain what's going on.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-03 12:25:52 +00:00
Vadim Zeitlin
cde23b64b5
Allow using wxGraphicsContext with MinGW if gdiplus.h is available.
...
MinGW doesn't include gdiplus.h but it can be installed independently by the
user. Allow to use it if it's available:
- Include windows.h when checking for it in configure as this is apparently
needed for its compilation.
- Don't reset wxUSE_GRAPHICS_CONTEXT to 0 for non-Microsoft compilers, instead
just define it as 0 by default for them, allowing the user to simply change
the definition in wx/msw/setup.h.
Closes #11892 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-02 19:30:41 +00:00
Stefan Csomor
62068535c5
simplifying modal event loop handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-02 14:52:08 +00:00
Vadim Zeitlin
9b7e022676
Add wxUSE_UIACTIONSIMULATOR and turn it off by default.
...
Disable the recently added wxUIActionSimulator class until the issues with it
mentioned at http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/119792/
are fixed.
Also use "" around wx headers instead of <> in wx code itself.
See #11801 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-22 11:40:35 +00:00
Stefan Csomor
9aee121225
adding proper removal of observer for stacked event loops, using cfrunloop for console on osx as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-17 08:05:04 +00:00
Stefan Csomor
80eee8378f
streamlining OSX event support third step, using platform specific native run methods for event loops
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-17 07:14:03 +00:00
Stefan Csomor
293a13bad7
streamlining OSX event support second step, moving pending and idle event handling to runloop-observer, see #11805 , see #11797
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-15 19:31:57 +00:00
Stefan Csomor
0056673c67
streamlining OSX event support first step, see #11805 , see #11797
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-15 15:40:47 +00:00
Kevin Ollivier
a45c9ba59b
A call to wxPopupWindow::Show shouldn't automatically cause the popup window to steal focus.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-06 04:51:51 +00:00
Stefan Csomor
878357d8f7
make sure ShowEvent doesn't get triggered to early during construction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-03 16:33:12 +00:00
Robin Dunn
06bb8d923d
Invalidate best size when the bitmap or bitmap position changes. Add GetBitmapMargins
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-01 23:20:35 +00:00
Kevin Ollivier
78a1707501
Override CanFocus because the wxWindow level test will check if the NSTextView's parent scrollview can get keyboard focus, and will return no, meaning that wx won't set the focus to the text ctrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-27 02:51:45 +00:00
Kevin Ollivier
e908dbcc92
Cocoa text fields and views have their own context menus, so we should use those instead.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-22 01:56:42 +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
Stefan Csomor
126254a8d0
adding carbon event missing in 10.4 headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-08 07:20:39 +00:00
Kevin Ollivier
75a2c6a1ee
Get wxSearchCtrl text events working, and share the text event handler code among all the various wxTextCtrl-based classes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-06 17:00:38 +00:00