Commit Graph

39617 Commits

Author SHA1 Message Date
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
7d36c568e1 Merged 47986 from trunk:
Implement wxBU_LEFT/wxBU_RIGHT styles.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 17:31:48 +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
Robin Dunn
8c6769e73c (un)install scripts for wxaddons and wxversion packages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:59:57 +00:00
Julian Smart
bc4dba6b4c 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/branches/WX_2_8_BRANCH@47974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-09 15:09:03 +00:00
Vadim Zeitlin
c2074367fa 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/branches/WX_2_8_BRANCH@47969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 23:34: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
David Elliott
8d4c087418 Merged 47957 from trunk:
Implement the wxST_NO_AUTORESIZE style for wxStaticText.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:35:58 +00:00
David Elliott
59d61f1645 Merged 47955 from trunk:
Translate the wxALIGN flags to the Cocoa alignment type in wxStaticText::Create
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:27:44 +00:00
David Elliott
c3030af596 Merged 47953 from trunk:
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/branches/WX_2_8_BRANCH@47954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 04:06:59 +00:00
David Elliott
af32bcf456 Merged trunk 47951:
Select the first choice in the radiobox upon creation for parity with other ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 03:18:05 +00:00
David Elliott
569c875a57 Merged trunk 47949:
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/branches/WX_2_8_BRANCH@47950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 03:08:07 +00:00
David Elliott
a5743e7bdf Merged 47946 from trunk: Return true in unsetenv case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 01:38:08 +00:00
Vadim Zeitlin
949a443764 correction to last commit: don't test unsetenv() return value, it's void under Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 22:39:29 +00:00
Vadim Zeitlin
6e66311d0a use unsetenv() instead of setenv(var, NULL) which is invalid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 22:29:07 +00:00
Robin Dunn
fbd4ef1c5e tweak the size and layout of the cancel button a bit so it doesn't get clipped.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 21:42:47 +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
Robin Dunn
931e5c417c Patch #1769242: Check for wxUSE_GRAPHICS_CONTEXT in renderer.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:12:09 +00:00
Chris Elliott
72d5e4361f cvs to svn changes for 2.8.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 12:01:07 +00:00
Chris Elliott
8de86fa902 new is_text from head for svn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 11:52:39 +00:00
Chris Elliott
4860c85f44 2.8.5 not 2.8.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 11:46:04 +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
e91a95b89e add wx/univ/tglbtn.h to wxUniv headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-06 01:00:58 +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
Robin Dunn
f36a4d4e45 Fix the building of debug python package if the debian/ubuntu system supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 02:31:04 +00:00
Robin Dunn
48ad659aa2 Patch from KO to allow the renderer to be able to draw onto a wxGCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-04 02:27:24 +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
a635e97d0e Merged 47838 from trunk:
Make masks and alpha work for wxCOPY when blitting a selected bitmap from a
wxMemoryDC with an eye towards possibly doing more in the future.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-02 16:28:31 +00:00
David Elliott
1898e412ad Add missing wxT.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-01 04:29:40 +00:00
David Elliott
29224b7773 Merged trunk 47795:
Add a wxAutoNSAutoreleasePool to wxBitmap::CopyFromIcon


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 20:40:09 +00:00
David Elliott
f8ea76d331 Merged trunk 47522:
Add a couple of wxAutoNSAutoreleasePool in some key spots where Cocoa itself does a number of autoreleases.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 19:35:12 +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
Robin Dunn
45b891b8e1 Use generic code for wheel scrolling on wxGTK as discussed on wx-dev a couple weeks ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:55:01 +00:00
Robin Dunn
96937739a9 Also build the debug python package, and more tweaks from Ubuntu's wx rules file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:54:01 +00:00
Robin Dunn
6995f729d4 Use the wxWidgets name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 16:15:31 +00:00
Vadim Zeitlin
42a5b4e4f7 recognize hover bitmaps (patch 1758843)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:21:11 +00:00
Vadim Zeitlin
e97b634c4c stop after at most 200 iterations in WalkFrom() to avoid looping endlessly when the stack is corrupted (patch 1759239)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:16:55 +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
David Elliott
35da598faf Merged trunk 47733:
Silence the warning about lack of [NSApplication +setAppleMenu:]


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 18:19:59 +00:00
David Elliott
0eb7ba85df Merged trunk 47732:
Added missing #import <Foundation/NSArray.h>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 18:18:53 +00:00
Julian Smart
17b1150b3f Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-25 07:18:10 +00:00
Stefan Csomor
f70fcfefbf fixing layering problems when modal dialogs should appear in front of floating windows (eg miniframes), as long as wxSTAY_ON_TOP is not set on the miniframe
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:22:17 +00:00
Stefan Csomor
de809c336e applying 1660835, making sure wxSTAY_ON_TOP mini frame windows don't get hidden on deactivate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-24 10:16:09 +00:00
Stefan Csomor
0458df5e6a we now always have a transparent sizer grip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:14:05 +00:00
Stefan Csomor
ae9d03dd77 we now always have a transparent sizer grip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:12:59 +00:00
Stefan Csomor
6287620649 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@47679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 20:11:41 +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
188b7013e8 implementing wxALWAYS_SHOW_SB from 1744665
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 17:08:28 +00:00
Robin Dunn
b63b53820a Allow supporting more than one version of Python at a time, if python-central is available and
installed in the Debian distro, and if it specifies that more than one version should be supported.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 15:51:36 +00:00