Julian Smart
c7bfb76a2c
A number of focus handling improvements:
...
Left clicking on a window only focuses the window if not processed.
wxControlContainer::SetFocus moved to wxControlContainerBase so that a container now focuses the first child even on wxGTK.
wxAuiBook is now a container, need for correct navigation on wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 10:54:31 +00:00
Vadim Zeitlin
c7db82dced
add XRC handler for wxSearchCtrl (extended patch 1751516)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 21:10:14 +00:00
Robert Roebling
b8b7b08777
removed Set/GetSortAscending from wxDataViewModel and move into wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 20:53:54 +00:00
David Elliott
8ea3a63ea9
Use one run-loop observer for all synthesis of mouse moved events instead of a separate observer for each view.
...
Actually check the last mouse position and don't send synthesized events if the mouse hasn't moved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 17:44:11 +00:00
Julian Smart
a0c2e4a050
Added AdvanceSelection, ShowWindowMenu and keyboard handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 16:12:45 +00:00
Julian Smart
974dc0de12
Added missing argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 14:03:17 +00:00
Julian Smart
6d78998725
Added DrawFocusRect to wxRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 12:15:15 +00:00
Vadim Zeitlin
7738af5957
relinquish the mouse capture when a dialog is about to be made modal to ensure that the mouse can be used in it (patch 1754648)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 21:01:30 +00:00
Vadim Zeitlin
56601ff2db
added ReadType convenience functions (patch 1764160)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:23:01 +00:00
Vadim Zeitlin
bc1dab7e1f
include wx/msw/winundef.g instead of writing just a subset of #undefs in wx/defs.h itself (patch 1774707)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:17:49 +00:00
David Elliott
e7e1ad7d93
Add support for uniquifying to all wxCocoa Objective-C classes.
...
Patch from Mark Taylor.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:10:19 +00:00
Václav Slavík
d6694e1017
removed outdated comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 15:28:30 +00:00
Vadim Zeitlin
bcac816123
no changes, just fix typos in comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:06:02 +00:00
Václav Slavík
8da116cf66
wxCocoa compilation fixes for visibility (missing DLL export macros)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 13:05:35 +00:00
Vadim Zeitlin
becac1ef57
added wxToolTip::SetAutoPop() and SetReshow() (patch 1768804)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:57:36 +00:00
Vadim Zeitlin
ca6328c44e
use correct WXDLLIMPEXP macro for forward declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 12:45:41 +00:00
Vadim Zeitlin
511383f91b
fix wrong clear selection (modified patch 1763916)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:52:13 +00:00
Vadim Zeitlin
6d7aee4f47
include wx/datetime.h, it's not always included from the other headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:46:57 +00:00
Vadim Zeitlin
f8efd2dfff
set the correct properties for the source files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:43:32 +00:00
Vadim Zeitlin
225dfbc517
added wxConvertTo/FromIeeeExtended() synonyms for ConvertTo/FromIeeeExtended() and deprecated the latters; also added missing dll export declarations for them (patch 1772233)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:07:13 +00:00
David Elliott
4f46c20bc4
Further simplificiation of the NSSlider/wxSlider interface such that the
...
various responder methods don't change the controls action but instead send
all actions through the normal wxCocoaNSControl action handling mechanism.
To determine what caused the action we save the message selector in a global
variable (safe since Cocoa does single-threaded event handling).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 04:12:44 +00:00
Vadim Zeitlin
71e33cfbbd
no real changes, just some cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:44:44 +00:00
Vadim Zeitlin
39f0cb547f
added wxTaskBarIcon::Destroy()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:43:39 +00:00
Vadim Zeitlin
a9c64a1b2e
check for wxUSE_ACCESSIBILITY not being set to 1 under non-MSW platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 21:31:26 +00:00
David Elliott
6c67fde0b8
Install wx/cocoa/objc/objc_uniquifying.h for wxCocoa and add a usage note
...
to the header.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 20:39:50 +00:00
Václav Slavík
e17206f71b
wxMac compilation fixes for visibility (missing DLL export macros)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 22:06:26 +00:00
Václav Slavík
a4535b9f39
don't attempt to convert 8bit values to Unicode in ANSI build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 18:48:58 +00:00
Václav Slavík
b9d4eff64f
check for HAVE_VISIBILITY first when setting WXIMPORT/WXEXPORT; only set it on platforms where it makes sense
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 18:36:14 +00:00
Václav Slavík
8105182945
compilation fix for wxString::Format("no variadic arguments") and VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:56:09 +00:00
Robert Roebling
194027acb3
Applied Hartwig's implementation of OS X wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 15:56:28 +00:00
Václav Slavík
99fda03aa3
Mingw compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 14:43:44 +00:00
Julian Smart
aa1b2573f3
Added XRC handler for wxPropertySheetDialog (Sander Berents)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 12:04:31 +00:00
Julian Smart
68bc148cac
Compile fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 18:39:49 +00:00
Julian Smart
808260ec32
Small fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 18:02:36 +00:00
Julian Smart
52af3158e9
Menu label consistency changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 17:54:59 +00:00
Václav Slavík
be3dc3318b
added missing export declarations for wxGTK internal functions needed outside of wxCore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 12:03:37 +00:00
Vadim Zeitlin
8e2701ea8a
use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT in forward declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 11:46:29 +00:00
David Elliott
90f6792f53
Fix up NSSlider code to not use class posing and instantiate the proper type (now WXNSSlider) from slider.mm.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:12:06 +00:00
David Elliott
8d18e3653e
Attempt to fix RCS-ID tags so svn will fill them in.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 19:26:10 +00:00
David Elliott
ddac39da93
Major wxCocoa wxSlider overhaul from Mark Oxenham.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 19:25:08 +00:00
David Elliott
715b3df02f
Tell NSTextField to send us its action message and respond to it so we can generate wxEVT_COMMAND_TEXT_ENTER.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 18:40:56 +00:00
David Elliott
15f3714795
Implement transformation between the wxDisplay coordinate system and the Cocoa screen coordinate system.
...
Use this to fix TLW initial positioning/sizing (including wxTopLevelWindow, wxFrame, and wxDialog)
Use this to implement wxWindow::DoScreenToClient and DoClientToScreen
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 04:40:33 +00:00
David Elliott
e82b00a76d
Remove virtual from the newly added Create methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 19:07:07 +00:00
David Elliott
d381b7dfdd
Add wxBitmap constructors and Create methods to allow creating a wxBitmap from an NSBitmapImageRep or NSImage instance.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 19:05:51 +00:00
David Elliott
dc834029a3
Add Objective-C uniquifying to WXNSWindow and WXNSPanel
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 18:15:50 +00:00
David Elliott
9cce71a0f9
Implement wxStaticBitmap.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 16:53:32 +00:00
Julian Smart
4c0d2cd3d0
Toolbars shouldn't have themed borders
...
Made it easier to switch off theme borders in wxWindow if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:05:56 +00:00
Václav Slavík
e5eaf55744
fixed visiblity attribute warnings in STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 21:55:22 +00:00
Václav Slavík
cae92a4988
VC6_WORKAROUND -> WX_LIST_VC6_WORKAROUND to prevent name conflicts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 21:26:32 +00:00
Julian Smart
6f3f9b50aa
Made wxBORDER_THEME the same as wxBORDER_DEFAULT
...
Moved wxControl::GetBorderStyle into wxWindowMSW::GetBorderStyle
but added GetBorderStyle to have the same behaviour as before (so e.g.
notebook panels don't get borders)
Improved help window borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 12:39:56 +00:00