Commit Graph

19447 Commits

Author SHA1 Message Date
Stefan Csomor
461fe6e255 implementation changes to closer follow MSW, crashes fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:44:02 +00:00
Václav Slavík
0351877058 added <warnings>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:43:00 +00:00
Stefan Csomor
dbe931ab5e initial creation invisible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:42:28 +00:00
Stefan Csomor
d77d9398e4 trying to avoid redraw problems at wrong places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:38:03 +00:00
Stefan Csomor
fe779e4047 fixing Update, attempt to speed redrawing by making embedded controls invisible (leading to lesser nested redraws)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:37:19 +00:00
Stefan Csomor
46d0c7072f when memory dumps out debug info, lookups can go wrong, since the list is not there anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:36:22 +00:00
Stefan Csomor
f825dcd123 fix for CW non unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:34:15 +00:00
Stefan Csomor
5524d92aaa wxID_PREFERENCES added for the preferences menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:32:35 +00:00
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