Commit Graph

4655 Commits

Author SHA1 Message Date
Robert Roebling
d089223aa3 Lots of minor GTK2 updates.
Added wxFont SetNoAntiAliasing which cannot cause
    problems with existing apps since it doesn't
    changing the current style flags.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-28 00:21:00 +00:00
Robert Roebling
f481b72d90 Added GB2312, BIG5, EUC-JP and Shift-JIS encodings to
known encodings so that message catalogs written in
    these encodings can be loaded. I did't find the code
    where I can specify that GB2312 is actually the same
    as the Windows code page.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 23:15:36 +00:00
Vadim Zeitlin
7fb7ed97e9 bumped up version to 2.3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 23:05:55 +00:00
Vadim Zeitlin
936284fe41 fixed several bugs in wxDateTime week number calculations which required passing WeekFlags argument to more functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 16:11:02 +00:00
Václav Slavík
47cfa2bd4c Mingw compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 16:10:00 +00:00
Julian Smart
a693d65e54 MinGW fix for XP fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 11:35:21 +00:00
Julian Smart
ed9cd416f1 Applied patch [ 614042 ] Add wxSizer::Hide() & Show()
By Carl Godkin
Also documented wxSizer::Show.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-24 11:01:47 +00:00
Robert Roebling
f8300041bd Lots of small changes to prevent glibc from crashing
when converting ansi strings to unicode. After
   this, you can use and display east asian locales
   in wxGTK, which looks sorta funny...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-23 17:32:15 +00:00
Stefan Csomor
97138ef264 added system version getter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-22 15:38:17 +00:00
Robin Dunn
f0a3fd5400 Added wxRealPoint::operator!= for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-21 20:08:59 +00:00
Robert Roebling
08314c6f4f Added header filename to pragma.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 18:21:36 +00:00
Robert Roebling
cd12eca16a New code for char and key events under GTK 2.0. This
uses the built-in input method which is required
    even for getting European characters. Key down
    events probably don't work anymore. It is still
    impossible to receive Unicode characters due to
    the limitations of wxKeyEvent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-20 10:15:31 +00:00
Vadim Zeitlin
9e99b53208 added wxRB_SINGLE style as temp workaround for MSW native radiobutton bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-19 13:24:09 +00:00
Václav Slavík
02b0f5f67e added wxScrolledWindow to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 20:54:12 +00:00
Stefan Csomor
30438673e3 notebook images support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 17:22:44 +00:00
Robin Dunn
431aa4766e Use true reference counting with wxMemoryBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-18 05:11:08 +00:00
Robin Dunn
171c9b26e3 wxFAIL used wxFalse in its message like '"wxFalse" failed' which
doesn't make much sense...  So I changed the token passed to wxASSERT
to "wxAssertFailure" to try and make it a little better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:37:51 +00:00
Vadim Zeitlin
7c603b9907 added include wx/defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 18:02:55 +00:00
Vadim Zeitlin
6af4efb2f9 fixes for gcc 3.x -Wshadow warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 16:43:43 +00:00
Vadim Zeitlin
5b7745fa47 gcc 3.x -Wshadow warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 16:38:49 +00:00
Vadim Zeitlin
635f9b534e added wxLongLongSuffix and wxLongLongFmtSpec for CW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-17 16:30:36 +00:00
Vadim Zeitlin
a61aefe37f don't divide by 0 in SetValue/Range(); minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 13:25:41 +00:00
Vadim Zeitlin
64b2a65697 added HasSelection() (forgot to commit yesterday)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 17:25:17 +00:00
Robert Roebling
944b29b835 Give wxComboBox an extra SetFocus() method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 21:01:15 +00:00
Vadim Zeitlin
e924448838 more typos in #ifs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:13:55 +00:00
Vadim Zeitlin
a45376e42f typos in #ifs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 18:37:44 +00:00
Robert Roebling
daa820fd8b Enable direct access to XML data in XRC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 16:19:15 +00:00
Vadim Zeitlin
86181cbde1 added wxLL and wxLongLongFmtSpec macros; documented them; added a test in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 11:02:48 +00:00
Vadim Zeitlin
16ca2afc73 only define Foo equivalents for wxFoo file functions if WXWIN_COMPATIBILITY_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-12 22:19:26 +00:00
Václav Slavík
edb22d6af1 added wxHtmlContainerCell::GetBackgroundColour (needed for e.g. widgets rendering)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:22:06 +00:00
Vadim Zeitlin
da266dd05c added non const accessors to wx(W)CharBuffer; minor changes to wxMemoryBuffer; made copy ctor and assignment operator argument non const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 15:26:43 +00:00
Vadim Zeitlin
d329818b2a added/documented wxWizard::HasNext/PrevPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-08 20:37:56 +00:00
Mattia Barbon
51b30d5943 Fix wxHashMap::clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-07 20:37:21 +00:00
Mattia Barbon
82e547d3d6 A couple more s/friend class wxFoo/friend class WXDLLEXPORT wxFoo/ for
MinGW GCC 3.2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-06 20:44:41 +00:00
Vadim Zeitlin
8ce31375f2 fixed wxfileDialog::SetPath() (which didn't do anything before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-05 20:20:57 +00:00
Gilles Depeyrot
af0cf516b0 added SIZEOF_INT to Project Builder prefix header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-04 18:45:11 +00:00
Vadim Zeitlin
3512d53ddd added a WXWIN_COMPATIBILITY_2_2 test around deprecated Command() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 23:33:01 +00:00
Vadim Zeitlin
a275e42188 delete the hidden TLW parent window from a module to ensure that it is done even if OnInit() returns FALSE; also create it without using wxTLW itself which actually simplifies the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 23:32:23 +00:00
Julian Smart
db2995da83 Applied patch [ 616406 ] wxGenericDirCtrl: virtual methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:57:29 +00:00
Julian Smart
fe3f379193 Applied [ 609518 ] wxImage: const comp. operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:35:52 +00:00
Ron Lee
292cc8c93e The menubar dynamic sizing patch broke any app which adds an empty
menubar and populates it later.  Since this is (or at least was)
a valid way to use wxMenuBar before that, we need to recalculate
the size whenever it might change.  (We probably need to do it
anyway for this to be completely useful).   This patch isn't the
cleanest or most efficient way to do that, but it's a minimal
change on a new feature that at least restores compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 15:13:44 +00:00
Robert Roebling
5aee9bc480 Put StringMatch() into #if win_comp_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 10:30:22 +00:00
Robert Roebling
58b5a13da5 Very incomplete Unicode support for wxTextStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 20:48:44 +00:00
Robert Roebling
0edfce279c Determin menu bar height dynamically.
Minor sample changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 10:40:52 +00:00
Chris Elliott
ca93de9778 fix bug with #define FindText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 13:58:23 +00:00
Václav Slavík
3ce501311b implemented subclass factories for XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-25 11:10:39 +00:00
Robin Dunn
d0c7b7d2b7 If being asked to Add or Insert zero items just do nothing and return
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-24 00:35:08 +00:00
Vadim Zeitlin
a26c4b2ee7 fixed SetFilterIndex() which was broken by the recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-23 14:55:55 +00:00
Vadim Zeitlin
34a8dbd28e renamed wxListBox::CreateItem() to CreateLboxItem() to aviod conflict with wxWindow method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 21:02:00 +00:00
Vadim Zeitlin
c1094350b3 made wxFont::GetResourceHandle() const as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-22 20:58:43 +00:00