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
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
fe8402e653
Implement wxBU_LEFT/wxBU_RIGHT styles.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 17:30:51 +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
c118d8b06e
Gave toolbars some extra height, Without which DoGetBestSize can report a size that's
...
smaller than the actual window, causing windows to overlap slightly
in some circumstances, leading to missing borders. Removed a hack in AUI to
adjust for wrongly reported size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:08:50 +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
Vadim Zeitlin
e09200046e
remove extra space which confuses some servers (at least wu-ftpd 2.6.2) from interpreting the PORT command correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 23:34:14 +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
Julian Smart
f196316400
Compile fix (VC++ 6 doesn't like wxString::Format with only 1 arg: gives several pages of template-related warnings)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 11:53:13 +00:00
Julian Smart
bbf941bda9
Removed minifram
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 11:22:45 +00:00
David Elliott
e2b497f7a6
Implement the wxST_NO_AUTORESIZE style for wxStaticText.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:34:15 +00:00
David Elliott
c59112bba5
Translate the wxALIGN flags to the Cocoa alignment type in wxStaticText::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:25:57 +00:00
David Elliott
5b70207eb4
Use static wxControl::GetLabelText in preference to wxStripMenuCodes with the wxStrip_Mnemonics flag for readability.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:05:48 +00:00
David Elliott
afa292ff31
Select the first choice in the radiobox upon creation for parity with other ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 03:17:36 +00:00
David Elliott
94a2af7672
In wxNotebook::Create setTabViewType based off of wxNB_TOP/LEFT/RIGHT/BOTTOM flags if given.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 03:06:53 +00:00