Commit Graph

48187 Commits

Author SHA1 Message Date
Vadim Zeitlin
5cfb5f66af add a menu item to test setting focus (see #626 comment:42)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 11:49:04 +00:00
Francesco Montorsi
7235c54d3b leftovers from r59566
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 19:45:34 +00:00
Kevin Ollivier
423939b29a On OS X, the button for wxID_HELP should never accept a label, also, tweak sizing for help button in OS X Cocoa case. (fixes #10595)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 19:03:58 +00:00
Francesco Montorsi
b31eaa5c34 make wxStatusBarPane a 'full class' with getters and protected data; document it; provide more accessors in wxStatusBar (closes #10574)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 17:54:05 +00:00
Francesco Montorsi
bff248644e wxMSW and wxPalmOS already had the wxFont(const wxSize&...) ctor; don't duplicate it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:42:05 +00:00
Francesco Montorsi
b5791cc7af add the wxFont(const wxSize& pixelSize, ...) ctor to all ports; add some wxCHECK_MSGs to ensure that the wxSize objects contains non-negative arguments; document that passing zero for the width parameter is allowed; other minor doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:28:33 +00:00
Kevin Ollivier
2fd716136a Rebake after last change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:14:56 +00:00
Kevin Ollivier
19beefa6f3 On Mac, ensure that the library path and dependencies point to the right location whether or not the library is installed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:07:56 +00:00
Stefan Csomor
ae255e2948 changing layout to better adhere to HIG, fixing truncation on cocoa, fixes #10584
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 14:12:33 +00:00
Francesco Montorsi
f834ee4859 warn the user that for all basic classes wxPoint,wxRect,wxSize,wxRealPoint negative values are allowed inside the internal coordinate members; specify that their default ctors init to zero their internals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 11:33:40 +00:00
Václav Slavík
0e32e86acd fixed docs of rows/cols XRC property
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 11:05:14 +00:00
Stefan Csomor
6ac636dd07 fixing obj-c warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 10:58:29 +00:00
Václav Slavík
819559b2ac better XRC errors reporting: report location of the error and use unified formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 10:29:14 +00:00
Stefan Csomor
95fb31530e making sure peer->Move refreshes properly, bringing in synch with carbon, applying patch, fixes #10403
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 10:20:39 +00:00
Stefan Csomor
44ee9ed83b changes for embedded, applying patch, fixes #10359
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 09:58:18 +00:00
Kevin Ollivier
0f6c9085a5 Consider wxOSX the port name, and have wxOSX/Carbon and wxOSX/Cocoa as variations, so that linkages from function docs are left intact. Also, do a little cleanup and elaborate more in the docs for OS X Cocoa and OS X Carbon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 01:19:09 +00:00
Francesco Montorsi
1729acd85b more docs and more comments in the sample code for wxObject* classes; document CreateRefData() and CloneRefData()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 01:03:48 +00:00
Francesco Montorsi
387e72bad6 implement the wxGTK selective yield with a different approach: rather than getting the events ourselves and fetching them to gtk_main_do_event(), install our own wxgtk_main_do_event() to filter them (closes #10320 -- see bug reported in comment 19)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 23:59:21 +00:00
Vadim Zeitlin
48ae48a93b fix warning about needless comparison of unsigned with 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 23:31:37 +00:00
Vadim Zeitlin
4cef387341 remove stray debugging printf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 23:29:08 +00:00
Vadim Zeitlin
98fa068e79 compilation fix for Watcom (see #10576)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 23:26:39 +00:00
Kevin Ollivier
533e2ae1ac implement EVT_TEXT and EVT_TEXT_ENTER for NSTextView-derived text controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 19:39:30 +00:00
Francesco Montorsi
6547c6bad7 include all events categories in wxEVT_CATEGORY_ALL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 19:20:03 +00:00
Stefan Neis
c6a9c07cda Sorry, needed to fix typo in previous commit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 18:41:18 +00:00
Stefan Neis
d9a40f7b86 Update m_nSize when shrinking wxArrayString (fixes #10591).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 18:34:46 +00:00
Francesco Montorsi
bce3699ff6 more links to native docs for wxGTK; some typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 14:26:00 +00:00
Francesco Montorsi
aff647c1ea more specs for wxDC::DrawRotatedText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 14:02:37 +00:00
Francesco Montorsi
732d8c74f8 add wxSize overloads to wxBitmap ctors and to wxBitmap::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 13:57:51 +00:00
Francesco Montorsi
72a9034bd4 add overloads of ctors and Create() functions taking wxSize; document the various Create() overloads; reorganize wxImage docs categorizing the various functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 13:28:28 +00:00
Francesco Montorsi
5a0a15cf56 fix crash caused by an wxMDIClientWindow's GTK signal handler being called when the wxMDIClientWindow is already (partially) destroyed: easily reproducible (without this fix) in the 'mdi' and 'svg' samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 01:24:45 +00:00
Francesco Montorsi
49e3b82c03 revise the sample, simplifying and cleaning it where possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 01:01:12 +00:00
Francesco Montorsi
76e2b5703a do not use @c to refer to wxDefault* objects; use :: so an hypertext link is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 00:49:24 +00:00
Francesco Montorsi
92f9888cec avoid GDK warnings about invalid windows when creating wxTopLevel::Refresh too early
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 23:07:53 +00:00
Kevin Ollivier
e2c33b5595 Only MSW supports loading sounds from data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 21:02:13 +00:00
Kevin Ollivier
ab9df4fb45 Another place we need an autorelease pool.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 20:54:02 +00:00
Stefan Csomor
8e88e9846a solving inversion problem, because SetShape is redefined on toplevel.h level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 18:43:46 +00:00
Stefan Csomor
b99c746cad making sure toplevel default width/sizes are used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 18:23:04 +00:00
Stefan Csomor
92a942606f supporting AA font flags on wxGCDC, fixes #10579
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 17:53:58 +00:00
Kevin Ollivier
5f05e51454 Mac -> OSX header change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 17:22:31 +00:00
Jaakko Salli
48f0334de5 Allow disabled properties to be expanded/collapsed via keyboard events (they could anyway be expanded/collapsed via the expander button)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 15:42:28 +00:00
Václav Slavík
8e63b7b8ea return URLs, not filenames, from wxFileSystem::FindFirst/FindNext() for the file: protocol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 15:04:05 +00:00
Václav Slavík
2bb9a404fb added wxXmlResource::LoadAllFiles()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 13:26:46 +00:00
Julian Smart
95835bc453 Made DoSize and GetPageRect virtual for easier derivation without duplicating a lot of code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 09:22:23 +00:00
Kevin Ollivier
0f425df617 Rebake after Mac bundle change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 05:27:13 +00:00
Kevin Ollivier
8588ab380b Just move the binary inside of the app bundle instead of making a separate copy of it in the bundle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 05:23:07 +00:00
Kevin Ollivier
3fe02baaea Removing more CodeWarrior samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 19:37:41 +00:00
Kevin Ollivier
b5fe7ca67b Removing more CodeWarrior project files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 19:32:13 +00:00
Kevin Ollivier
6492413bbb Remove docs for the removed CodeWarrior projects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 19:30:50 +00:00
Kevin Ollivier
fe56965b7f Remove instructions for Mac OS Classic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 19:29:27 +00:00
Kevin Ollivier
31a147b424 Removing Classic MacOS / CodeWarrior instructions as neither are supported any longer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 19:14:14 +00:00