Commit Graph

10365 Commits

Author SHA1 Message Date
Stefan Csomor
9f96ea4339 was an inadvertent commit, turning off that functionality again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:50:20 +00:00
Stefan Csomor
8573e3645f upping version numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:39:45 +00:00
Stefan Csomor
2efa52d91b binary compatible workaround for getting the parent for native window grouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 14:38:55 +00:00
Chris Elliott
2b46a2343f 2.8.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 09:01:42 +00:00
Vadim Zeitlin
97fee60f06 declare wxEVT_GRID_COL_MOVE event (which was defined but not declared in the header) and add macros for handling it (patch 1788077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:39:11 +00:00
David Elliott
7748a0b287 Merged 47941 from trunk:
Implement wxRadioButton Get/SetLabel methods.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 18:16:03 +00:00
David Elliott
aadb49f665 Implement wxButton::SetDefault to call SetDefaultItem on the top-level window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 17:17:35 +00:00
Robin Dunn
66352e8859 Set version number to 2.8.5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 23:32:41 +00:00
Julian Smart
5f1362cee2 Compile fix for old W32API headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 19:26:16 +00:00
David Elliott
aa779707d4 Add static wxEventHashTable::ReconstructAll() to undo the effects of ClearAll().
Call it from wxEventTableEntryModule::OnInit() so that it is now symmetric with OnExit().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 14:46:50 +00:00
Julian Smart
cdf3fdeb89 Applied [ 1767537 ] [wxOS2]Watcom build - filefn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 10:41:54 +00:00
Julian Smart
9a8c1ee977 Applied patch [ 1764987 ] fix localtime link error using wm5 SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 12:14:26 +00:00
Robert Roebling
fcf33cf6fc Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:45:19 +00:00
Václav Slavík
3ac7365cb3 fixed wxPropertySheetDialogXmlHandler backport: added missing wxABI_VERSION checks and added to version-script.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 11:35:50 +00:00
Julian Smart
e86b1adb88 Applied patch [ 1747059 ] wxAUIDefaultTabArt wxAUI_NB_BOTTOM
Langhammer



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:51:24 +00:00
Robert Roebling
7a7c08d49c Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-21 10:45:24 +00:00
Kevin Ollivier
56afe8efb3 (Port to 2.8) Fix for wxMemoryDC::GetAsBitmap(wxRect) on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 23:43:32 +00:00
David Elliott
79176a4aa1 Fix wxCocoa's wxLaunchDefaultBrowser in the 2.8 branch.
Roughly equivalent to trunk 45892 (NOTE: CVS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:22:09 +00:00
David Elliott
7f3f8ee6ac Merged 48150 and 48169 from trunk:
Improve the tracing of the tracking rect manager and mouse movement synthesizer.
Fix a number of problems with tracking rectangles by avoiding rebuilding them when unnecessary.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 03:37:08 +00:00
Kevin Ollivier
56ca408de4 (Port to 2.8) Add the unified style on OS X 10.4, and default to using it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 21:58:07 +00:00
Julian Smart
6ed7498cbf Comment cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-18 11:04:36 +00:00
David Elliott
acc7223944 Merged 48131 from trunk:
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/branches/WX_2_8_BRANCH@48133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 17:58:41 +00:00
Julian Smart
a99f59788c Added AdvanceSelection, ShowWindowMenu and keyboard handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-16 16:19:22 +00:00
David Elliott
d50b18a354 Use the new wxUSE_ABI_INCOMPATIBLE_FEATURES to enable enhancements for wxCocoa builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 17:58:46 +00:00
David Elliott
ae85087030 Add a new wxUSE_ABI_INCOMPATIBLE_FEATURES and corresponding --enable-abi-incompatible-features which defaults to the opposite of --enable-shared.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 17:43:50 +00:00
David Elliott
83b3034b24 Merged 48106 from trunk:
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/branches/WX_2_8_BRANCH@48107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 16:12:45 +00:00
Vadim Zeitlin
7cd001e79b include wx/datetime.h, it's not always included from the other headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:46:57 +00:00
Vadim Zeitlin
b118620caa set the correct properties for the source files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:43:32 +00:00
David Elliott
1346171e5f Merge in the recent wxSlider work from svn trunk (various commits). This patch keeps ABI compatibility but won't yet
generate events caused by mouse movement (next commit will do that ABI compatibly).
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 04:42:44 +00:00
David Elliott
e62c4f3047 Merged 48068 from trunk:
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/branches/WX_2_8_BRANCH@48069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-14 20:56:47 +00:00
Julian Smart
fb9c1ff9cb Binary compatible API fixes for menu label retrieval with and without
mnemonics/accelerators.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:07:01 +00:00
Julian Smart
49ab1eb964 Added XRC handler for wxPropertySheetDialog (Sander Berents)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 12:05:18 +00:00
David Elliott
bd0a55df29 Merge 48007 from trunk:
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/branches/WX_2_8_BRANCH@48008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 18:44:58 +00:00
David Elliott
3ea8f7f2af Merged 47994 from trunk. WARNING: changes runtime behavior:
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/branches/WX_2_8_BRANCH@47995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 04:47:49 +00:00
David Elliott
94d815b39e Merged 47990 and 47991 from trunk:
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/branches/WX_2_8_BRANCH@47992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 19:08:30 +00:00
David Elliott
3a26d6e324 Merged 47988 from trunk:
Add Objective-C uniquifying to WXNSWindow and WXNSPanel
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 18:17:18 +00:00
David Elliott
b41c7b7ed7 Merged modified 47984 from trunk:
Implement wxStaticBitmap.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 17:01:14 +00:00
Julian Smart
84426bea01 Added wxWindowMSW::GetThemedBorderStyle as a helper for 2.8
Improved help window borders


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 12:38:13 +00:00
Julian Smart
2ee1e5bbb0 Added wxBORDER_THEME and made wxTextCtrl and wxSearchCtrl show the correct borders. Because
we can't add virtual functions because of binary compatibility considerations, we can't make
controls intelligent enough to know when they need themed borders. So in 2.8 we have to add
wxBORDER_THEME explicitly where necessary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:40:08 +00:00
David Elliott
3a1a045929 Merged 44792 (NOTE: CVS) from trunk:
implemented GetLabel() (part of patch 1679337)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 14:55:00 +00:00
David Elliott
9330455ae2 Merged 47902 from trunk:
Consolidate cocoa view/control/cell label setting into wxControl::CocoaSetLabelForObject.

Also implements wxStaticBox Get/SetLabel which wasn't in the 2.8 branch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 14:19:41 +00:00
Vadim Zeitlin
f391158f90 make wxTmemxxx() functions return char* and not void* in ANSI build for compatibility with wx 2.9 [backport of 47876 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 21:58:53 +00:00
Julian Smart
d916510cb3 Added Get/SetParentWindow to allow the same easy printing object to be used even
if the original parent frame was deleted


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-03 08:50:49 +00:00
David Elliott
19d3db8dec Merged trunk 46229 (NOTE: CVS) inside #if 0 pending research into how to do it in an ABI-compatible way:
Implement mouse entered, exited, and synthesize move events while the mouse is inside.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 19:06:06 +00:00
David Elliott
d6c69e0dec Merged trunk 47757:
* Implement the wxMask copy constructor to retain the source object's
  m_cocoaNSBitmapImageRep (fixes multiple release bug).
* Add some debug messages for unimplemented wxMask::Create overloads.
* Implement mask creation w/ key color from 8-bpp grayscale bitmap.
  This makes the mask image in the drawing sample's mask page work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-27 21:45:12 +00:00
Stefan Csomor
8002d90bef making sure we never have a grow box overlapping a scrollbar [1758336]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:09:19 +00:00
Stefan Csomor
52ec12df36 correcting my last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 04:42:48 +00:00
Stefan Csomor
e34d630c63 no 68k macs more to support...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-22 10:12:13 +00:00
David Elliott
a8634fc361 wxCocoa: Implement wxControl::GetLabel/SetLabel by stowing the label in the
wxNonControlNSControl instance used when the wxControl is a non-native
subclass (e.g. a generic control).
Not needed in trunk since there is now m_labelOrig.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 22:11:16 +00:00
David Elliott
d4364d403b Merged trunk 47600:
wxCocoa: Implement wxTopLevelWindow::SetDefaultItem
Copyright 2007, Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 20:41:05 +00:00