Commit Graph

48106 Commits

Author SHA1 Message Date
Vadim Zeitlin
306f34a368 allow using CPPUNIT_ASSERT_EQUAL(int,unsigned) even on 64 bit platforms (see r59576)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 22:02:56 +00:00
Vadim Zeitlin
167905b222 added the files with separate tags itself (should have been part of r59590)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 21:55:31 +00:00
Vadim Zeitlin
1d5252435a extract the list of macros to ignore in a separate file and completed it with FWD versions; turned off generation of tags for forward class declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 21:54:40 +00:00
Francesco Montorsi
3fb2bf54c7 the GOption hack is valid for Glib 2.20 too (it looks like it will be valid forever...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 21:09:37 +00:00
Kevin Ollivier
46f573dc0c Handle the remaining selectors which otherwise lead to beeping on key press.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 21:04:15 +00:00
Francesco Montorsi
3bb5029df2 guard with compile-time checks the new GDK_* event type symbols; explain why runtime checks are not necessary (closes #10603)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 20:56:00 +00:00
Jouk Jansen
863001cdca correct typo in my previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 13:54:19 +00:00
Jouk Jansen
4883dc77e1 correcting #ifdef syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 11:05:25 +00:00
Francesco Montorsi
d196416cad fix bug when warning string contains percent signs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:53:07 +00:00
Francesco Montorsi
181c400b74 be x86_64-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:52:46 +00:00
Francesco Montorsi
15b8639ec8 include the path to the real setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:52:18 +00:00
Francesco Montorsi
601b9dfa71 do not copy the typical setup.h in setup_gccxml.h; this is too fragile; rather use the real setup.h and then include setup_gccxml.h to 'fix' things so that gccxml is happy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 17:51:47 +00:00
Francesco Montorsi
7ab4bb30bc don't fail on machines without french support installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 15:47:39 +00:00
Francesco Montorsi
c653b0197a fix compilation with gcc 4.3.3 (and libcppunit 1.12.1); the compiler is confused by the many assertEqual() overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 15:18:07 +00:00
Francesco Montorsi
70f70818c2 return updated wxFONT*_* values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 14:49:46 +00:00
Francesco Montorsi
6e19eb9c4b allow testing wxSystemSettings::GetFont() return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 14:46:46 +00:00
Francesco Montorsi
c45f5ae8a3 no real change; just reformatting and better comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 14:46:00 +00:00
Václav Slavík
afc0db8ca0 detect and report errors in XRC specification of grid sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 13:33:39 +00:00
Václav Slavík
159852aeae fixed wxXRC compilation with --disable-filesystem (bug #10580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-16 13:18:27 +00:00
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