Robert Roebling
827e7a4874
Applied patch for better sizing of bitmap buttons.
...
Applied patch for correct order of activate and mouse down events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 13:05:50 +00:00
Robert Roebling
411bdf7415
Applied patch for better pattern support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 11:59:25 +00:00
David Elliott
42036ca82a
Implement NSMenuValidation protocol for the wxNSMenuItemTarget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 20:03:16 +00:00
David Elliott
f5382a2f00
Remove wxASSERT(!m_windowKey) and wxASSERT(!m_windowMain). When a window
...
is destroyed it doesn't resign key or main status.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 19:44:40 +00:00
David Elliott
677d7f2414
Use wxStripMenuCodes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 19:42:35 +00:00
David Elliott
11573ad882
Implement wxSpinButton (except up/down events)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 19:03:31 +00:00
David Elliott
e0c691d13c
Provide target/action mechanism for subclasses to use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 19:00:45 +00:00
David Elliott
b6567e32ee
When using a non-subclassed NSControl, use a new wxNonControlNSControl
...
subclass which implements drawRect: like wxPoserNSView does.
If this is not done, NSControl simply eats the drawRect: message.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 18:14:57 +00:00
Václav Slavík
e09c7b2d62
forgot to commit regenerated makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 17:11:29 +00:00
David Elliott
b66e98539f
Implement (sort-of) non-client wxWindowDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 15:42:40 +00:00
David Elliott
514e7b7bf8
Added virtual GetNonClientNSView()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 15:37:58 +00:00
David Elliott
080c7d56e0
* Added NSWindowStyleForWxStyle static method
...
* Create(): Handle window styles and initial frame size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 14:51:38 +00:00
Stefan Csomor
f7476b53e6
setter fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 14:21:36 +00:00
Mattia Barbon
f4a3e0a956
Added src/motif/xmcombo/xmcombo.c.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-08 10:42:29 +00:00
Mattia Barbon
550223b248
Removing makegen an projgen files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 20:29:46 +00:00
Mattia Barbon
73d617c9c7
Removing makegen and projgen, part #1 : removing references
...
in other parts of wxWindows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 20:23:55 +00:00
Stefan Neis
d4ca5c8c7b
Insure that messages are posted to the main threads event loop,
...
instead of sending them to the thread-local event loop
(which typically does not exist under wxWindows).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 17:50:12 +00:00
Stefan Neis
ad0500fb78
Initialize PM subsystem in every thread, to enable sending messages to the GUI.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-07 12:49:04 +00:00
Stefan Neis
2e896473d8
Unified with Unix version.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 22:25:16 +00:00
Stefan Neis
f4a917a7d5
wxOS2: Added mdig.{cpp, h}.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 21:47:19 +00:00
David Elliott
0ca6987db2
Use an NSImageView instead of an NSView (nothing works yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 19:12:04 +00:00
David Elliott
7e41e564c6
Use an NSSlider instead of an NSView (nothing works yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 19:11:26 +00:00
David Elliott
1f4e686615
Override CocoaSetEnabled because it's not an NSControl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 19:10:22 +00:00
David Elliott
3529fcc96a
wxCocoa: CodeWarrior (like GCC) mangles struct X and @class X identically.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 17:36:51 +00:00
David Elliott
3099646e86
wxCocoa: Added NSNotification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 17:32:21 +00:00
Stefan Neis
afbfef69a3
Use function table instead of direct references to GSocket functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 16:37:02 +00:00
David Elliott
f154ff6018
Implement wxChoice including sorting and client data
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-06 00:33:02 +00:00
Mattia Barbon
a5e14fbf1a
Updated Italian translation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 20:26:36 +00:00
David Elliott
363f7de02b
Implement wxGauge
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 18:40:00 +00:00
David Elliott
aaa5ab05af
Implement wxApp::Yield
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 18:29:15 +00:00
David Elliott
faad188707
Override CocoaSetEnabled. NSProgressIndicator is not an NSControl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 18:19:11 +00:00
David Elliott
1981118d4b
Works a little better when you remember to say "virtual"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 15:29:17 +00:00
David Elliott
bc8eaeb38a
Implement the hashmap for NSMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 15:09:02 +00:00
David Elliott
af27ce842e
Changed CocoaNotification parameter names to notification from userInfo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:59:51 +00:00
David Elliott
bcf0148786
Added ability to observe NSMenu notifications
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:50:31 +00:00
Stefan Csomor
061174e31a
selection for DeleteAllPages corrected, images scaleing in order to avoid crashes under OSX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:44:48 +00:00
Stefan Csomor
e778ad8607
commented section removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:42:17 +00:00
Stefan Csomor
258e4e914f
todo added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:41:12 +00:00
Stefan Csomor
b657d5dbee
removing scroll flags before instantiation the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:38:03 +00:00
David Elliott
605c7e7ed8
* Move m_cocoaNSMenu out of wxCocoaNSMenu and into wxMenu and wxMenuBar
...
* Comment out wxPoserNSMenu (it's not needed for now, may never be)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:00:53 +00:00
David Elliott
da02681123
Set the window's title
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 03:30:28 +00:00
David Elliott
97351e1704
wxMenuBar:
...
* Add the application (bold) menu to the NSMenu used for menubars
* Rework Insert, Remove, and GetLabelTop to work with indices by
retrieving the wxMenu then working from there to find the Cocoa index.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 03:01:13 +00:00
David Elliott
3581295575
* Set the window's title
...
* setHidesOnDeactivate: NO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 02:53:39 +00:00
David Elliott
162c4aada6
CodeWarrior Obj-C++ requires explicit casts from id to Objective-C types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 02:51:29 +00:00
David Elliott
4788596812
When a modal dialog is shown and the app isn't running, run the event
...
loop manually until it is out of events. This will allow the application
to let the Dock know it has completed startup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 02:48:49 +00:00
Stefan Csomor
83901ec20c
added live resizing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 02:07:28 +00:00
David Elliott
456fef85bb
Implement Cocoa_canBecomeMainWindow to say YES to Cocoa
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 01:40:52 +00:00
David Elliott
24c7767fc8
* Added GetAppMenuBar
...
* Removed Show
* Labeled (Attach|Detach)MenuBar as virtual
* Added SetMenuBar
* Implement (Attach|Detach)MenuBar using the wxMenuBarManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 01:39:55 +00:00
David Elliott
af367f4640
Add support for wxMenuBarManager
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 01:34:57 +00:00
Mattia Barbon
d6c6a32321
Added a couple of wxPerl notes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-04 22:20:16 +00:00