Commit Graph

48123 Commits

Author SHA1 Message Date
Francesco Montorsi
d014871de8 simplify a bit the convoluted implementation of wxFontRefData::Alloc;
add some comment, regarding the auto-allocation feature of GetHFONT();
use const_cast<>() instead of wxConstCast();
protect wxFont::IsFixedWidth with a proper wxCHECK_MSG.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 21:51:22 +00:00
Francesco Montorsi
b7d70f7626 no change: just move a misplaced comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 21:11:13 +00:00
Francesco Montorsi
5b06a80f9f add a wxFont test unit (currently GetFamily and the Get/SetEncoding() bits are disabled because they fail on wxGTK -- need more investigation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 15:32:28 +00:00
Francesco Montorsi
8f1337ed68 use doxygen autolinking feature; use @ref command for the overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 15:30:06 +00:00
Francesco Montorsi
5449f13b12 fix leftover of previous commits about pixelSize ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 15:12:28 +00:00
Benjamin Williams
d45d5bb2b2 updated aui sample to demonstrate/test wxITEM_RADIO support in toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 13:53:34 +00:00
Benjamin Williams
cae51973eb added wxITEM_RADIO support to wxAuiToolbar (applied #10602 with minor changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 13:29:26 +00:00
Vadim Zeitlin
8933fbc62e add combobox drop down/close up events (closes #10587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:42:58 +00:00
Vadim Zeitlin
099c2c7d7f correct typo in SetAltExtensions() method (re-closes #10570)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:04:20 +00:00
Vadim Zeitlin
7dac12efa7 more bug fixes to multiple selection mode (see #626, comment 47)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 10:01:36 +00:00
Vadim Zeitlin
03ae811e42 no changes, just correct some comments and variable names (see #10594)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 09:30:08 +00:00
Vadim Zeitlin
25b5adb446 set native eol-style for the overview files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 09:29:05 +00:00
Francesco Montorsi
76fcb97e5f add support to wxBitmapToggleButton also in TransferFromWindow (closes #10600 - thanks gmeeker)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 00:40:09 +00:00
Francesco Montorsi
2d28319419 some note about DOT_PATH, specially for Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-18 00:30:39 +00:00
Francesco Montorsi
50b75fe318 wxStatusBarPane is not a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 23:32:34 +00:00
Francesco Montorsi
4df02e42e7 re-add GetFieldsCount() erraneously removed in r59566
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 23:29:01 +00:00
Kevin Ollivier
4a3da8c099 Leave anti-aliasing on by default on Mac as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-17 22:53:57 +00:00
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