David Elliott
|
7dd8b1ea10
|
Make wxMenuItemAction: and validateMenuItem: delegate messages take an
NSWindow* parameter instead of an id.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-27 06:07:47 +00:00 |
|
David Elliott
|
86adc75813
|
Implement wxMenuItemAction: and validateMenuItem: delegate messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-20 02:55:28 +00:00 |
|
David Elliott
|
c6f73d05cc
|
Use one wxNSWindowDelegate instance per wxCocoaNSWindow instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-19 06:32:34 +00:00 |
|
David Elliott
|
42352409bc
|
Remove superfluous call to CocoaRemoveFromParent (it's done in ~wxWindow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-16 03:40:26 +00:00 |
|
David Elliott
|
6d034f7d78
|
Do not try to set the proper position if creating a window with a NULL parent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-09 05:12:38 +00:00 |
|
David Elliott
|
eafde5c739
|
Implement right mouse down/dragged/up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-09 05:01:23 +00:00 |
|
David Elliott
|
6ba13ca442
|
When destroying the window, only remove it from its Cocoa parent if
the Cocoa window for its wxWindows parent is its Cocoa parent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-09 04:44:30 +00:00 |
|
David Elliott
|
1d2fe15e71
|
Don't close dialogs in ~wxDialog as it just hides other problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-09 03:46:14 +00:00 |
|
David Elliott
|
9a6e13a6f7
|
wxBitmap::GetNSImage(): Added trace messages. Release maskImage.
wxMask_CreateFromBitmapData(): Don't clobber byte past the end of dest buffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-09 03:27:47 +00:00 |
|
David Elliott
|
4858097646
|
Use wxLogTrace instead of wxLogDebug for trace messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-08 07:07:04 +00:00 |
|
David Elliott
|
079cc3b670
|
* GetValue() now returns true if the state is undetermined
* Commented out some assertions that are handled in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-02 23:09:40 +00:00 |
|
David Elliott
|
7f7b69e220
|
Applied modified 3-state checkbox patch from Mathew Cucuzella
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-02-02 04:58:16 +00:00 |
|
Mattia Barbon
|
584ad2a32f
|
Added some missing STL-like wxArray/wxArrayString constructors.
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-31 18:21:45 +00:00 |
|
David Elliott
|
d23193b224
|
Use wxBitmap::GetNSImage(false) instead of duplicating code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-29 06:34:26 +00:00 |
|
David Elliott
|
f8c10ed8b3
|
ConvertToImage: Check !Ok() (we may not have any ref data at all) and if
the bitmap is not okay return wxNullImage (instead of a dummy 5x5 image)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-29 06:26:10 +00:00 |
|
David Elliott
|
b5df4fc722
|
wxCocoa: Better icon support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-27 06:01:34 +00:00 |
|
David Elliott
|
7b466aee08
|
Moved @interface wxNSApplicationDelegate to new header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-27 00:50:57 +00:00 |
|
Robin Dunn
|
fe4a107dda
|
wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added. Checked on MSW, GTK, and Mac, other port authors
please double check changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-23 21:02:06 +00:00 |
|
Vadim Zeitlin
|
cbcf084b05
|
minimal changes needed to allow linking wxCocoa as shared lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-22 13:35:08 +00:00 |
|
Vadim Zeitlin
|
211436b6f4
|
use wxColourDatabase::Find(), not obsolete FindColour(), in wxColour::InitFromName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-22 12:16:04 +00:00 |
|
Vadim Zeitlin
|
e9cece45b9
|
suppress warnings about implicit float -> int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-22 11:55:03 +00:00 |
|
Vadim Zeitlin
|
c041438d3f
|
warning about returning something from a void function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-22 11:53:29 +00:00 |
|
Vadim Zeitlin
|
2108cc974f
|
suppress warnings about implicit double -> int conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-22 11:52:34 +00:00 |
|
David Elliott
|
b0c0a393c4
|
Unicode build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-22 07:29:54 +00:00 |
|
David Elliott
|
2b030203c5
|
Applied patch #881258: Add wxT() to debug messages and a few others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-22 06:13:51 +00:00 |
|
David Elliott
|
f910a887bb
|
Applied correct filename case for header imports from patch #881258
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-22 04:41:34 +00:00 |
|
David Elliott
|
1d17f92389
|
Removed this file since it was only stubs and we now have the common
Mac OS X implementation in src/mac/gsockosx.c(pp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-18 21:57:52 +00:00 |
|
David Elliott
|
990ef031fd
|
Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-17 21:49:47 +00:00 |
|
Julian Smart
|
6463b9f539
|
Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-15 13:49:22 +00:00 |
|
David Elliott
|
6edf960cf5
|
IsInAssert is only available (and only makes sense) in a debug build so
don't try to call it in a release build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-14 04:44:37 +00:00 |
|
David Elliott
|
096a56242d
|
Added empty base class constructors. This will still be broken for anything
other than MSW, Mac, and Univ.
Julian: Fix this the right way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-14 03:52:50 +00:00 |
|
Julian Smart
|
1169a91932
|
Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2004-01-11 15:33:01 +00:00 |
|
David Elliott
|
e1f4ff6ddc
|
Added wxAutoNSAutoreleasePool to Create(Tool|Status)Bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-16 19:30:41 +00:00 |
|
David Elliott
|
7c5fbe2a79
|
1. Initialize m_mouseDownTool = NULL. Fixes crash when clicking a non-tool part of the toolbar before clicking a tool.
2. Added wxAutoNSAutoreleasePool to CreateButtonCell() and Realize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-16 19:28:21 +00:00 |
|
David Elliott
|
6613dc3fd6
|
In UpdateFrameNSView size the toolbar to its best size.
When creating or setting a frame's toolbar, SetOwningFrame on it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-16 17:26:37 +00:00 |
|
David Elliott
|
7dafb55fde
|
Very basic wxToolBar implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-16 15:36:56 +00:00 |
|
David Elliott
|
a00daa65ec
|
Use wxBitmap::GetNSImage() in wxDC::DrawBitmap. Mask support now works.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-15 21:07:44 +00:00 |
|
David Elliott
|
9c54e4ae1f
|
Add wxBitmap::GetNSImage() which creates an autoreleased NSImage either
with or without the bitmap mask applied.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-15 19:30:54 +00:00 |
|
David Elliott
|
f9c135f5ec
|
Strip menu codes from label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-15 16:49:46 +00:00 |
|
David Elliott
|
bed6fe0c16
|
Wrap some functions with wxAutoNSAutoreleasePool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-15 16:23:29 +00:00 |
|
David Elliott
|
eb537cfb1c
|
Improved idle event processing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-15 15:57:42 +00:00 |
|
David Elliott
|
ea3d4caf99
|
Add support for wxMask creation from RGBx data (x=unused)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-09 03:21:38 +00:00 |
|
David Elliott
|
ce20d822b0
|
Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-08 15:07:25 +00:00 |
|
David Elliott
|
016b064360
|
Implement wxMask given a wxBitmap and a mask wxColour.
TODO: Masks from other sources.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-08 15:01:39 +00:00 |
|
David Elliott
|
b60c6e9776
|
Added simple implementation of (Get|Unget)RawData.
Premultipied alpha is not handled at this point.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-12-06 23:27:08 +00:00 |
|
David Elliott
|
f99422e9e9
|
Added implementation of MDI using top level windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-11-13 16:03:08 +00:00 |
|
David Elliott
|
3905012063
|
Added a mechanism allowing a toplevel window to delay its deactivation
event. This will come in handy for MDI among other things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-11-13 15:13:55 +00:00 |
|
David Elliott
|
9f13cca8f6
|
Very lame fix for windows with -1 for a component of position or size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-11-13 14:33:30 +00:00 |
|
David Elliott
|
46cdffaf79
|
Fix file header and remove unused include "wx/cocoa/mbarman.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-11-13 14:28:53 +00:00 |
|
David Elliott
|
243f5c2d91
|
Renamed UpdateWindowMenuBar to UpdateMenuBar and removed unused parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2003-11-13 14:23:07 +00:00 |
|