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
David Elliott
03859c918c
Fix the top-level window client size setting code such that the window position does not change as seen by wxWidgets.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:38:32 +00:00
Vadim Zeitlin
731eee9af2
rename WX_VERSION_FULL back to WX_VERSION
...
WX_VERSION was renamed to WX_VERSION_FULL for some reason in rev 44731 but
this was a backwards incompatible change as the existing configure scripts
could (and did) use WX_VERSION, so undo this change, at least until someone
finds a worthy reason for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:28:44 +00:00
Vadim Zeitlin
f2b1c98a00
use decho, not echo, to output error messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:26:26 +00:00
Vadim Zeitlin
a8571f4e02
don't use the extra libraries in wx-config --version invocation as this now (correctly) results in errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 22:21:29 +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
Julian Smart
5a617be899
Added documentation for wxBORDER_THEME
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 14:03:35 +00:00
Julian Smart
3cc305b2b4
Added periods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 14:03:04 +00:00
Julian Smart
8c56ac8330
Fix for non-appearance of themed border with wxTE_RICH if size passed to the constructor and then not changed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 07:26:59 +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
Julian Smart
4fcbc84d65
Documented new menu label functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:18:32 +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
Julian Smart
967d3d9783
Use new function GetItemLabel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 15:35:30 +00:00
Julian Smart
c4e43bea7b
GetLabelTop should return the stripped label, for compatibility.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 15:32:08 +00:00
Julian Smart
9c895994db
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 14:59:56 +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
a738f87cae
Add accelerator back to label in GetItemLabel
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 14:43:39 +00:00
Julian Smart
387c7b3eef
Removed a misleading comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 14:02:25 +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
22e97d4cbe
Typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 10:26:10 +00:00
Julian Smart
94f6d685cb
Preserve original menu label for later retrieval
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 22:09:20 +00:00
Václav Slavík
f06a1f33f1
fixed wxStringTokenizer to correctly handle wxTOKEN_RET_DELIMS after the recent change to use iterators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 19:17:14 +00:00
Julian Smart
84c5131950
Menu fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 19:07:41 +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
afb6a92fee
added missing export declarations for wxGTK internal functions needed outside of wxCore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 12:18:34 +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
4a7ebfc1f2
Use wxLogStdErr in preference to wxLogGui on wxCocoa.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-11 01:28:42 +00:00
David Elliott
72ee73c196
Don't needlessly indirect through NSNotificationCenter.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:28:07 +00:00
David Elliott
605497ce5b
Use SetNSSlider instead of SetNSView so that the WXNSSlider (Objective-C) gets associated with the wxCocoaNSSlider (C++) via the hash map and events actually work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:14:07 +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
d89e391b21
Return something halfway reasonable from GetCharWidth/GetCharHeight because the generic log dialog divides by GetCharWidth which doesn't work so well when it's zero.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 20:03:05 +00:00
David Elliott
0ddf669fc9
Set the svn:keywords property to Id on the new files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 19:28:36 +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
Julian Smart
7d3e8dce7b
Typo correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 11:48:14 +00:00
Julian Smart
6da8eee196
Don't access null tip_window pointer [ 1767485 ] wxGtk uses private API, breaks with gtk 2.11.6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 11:05:20 +00:00
David Elliott
bd5554212e
Fix wxScrollBar initial size to match the limited sizes that Cocoa allows.
...
Author: Mark Oxenham
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 05:04:39 +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