Vadim Zeitlin
346f42313b
check whether setting locale for the selected language succeeded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-08 00:35:11 +00:00
Vadim Zeitlin
79b4079ff4
fixed the sample to work with conforming C++ compiler: local struct can't reference enclosing function's locals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 20:06:35 +00:00
Mattia Barbon
996994c714
Allow displaying Japanese character with wxMotif/ANSI under a
...
Japanese EUC-JP locale:
- add a #define (wxMOTIF_NEW_FONT_HANDLING) defaulting to
off
- factor the code for getting text extents in a central
wxGetTextExtent function
- when the new font handling is enabled load a fontset instead of
a single font. For non-Japanese locales this should load a fontset
containing a single font.
- on a Japanese locale set the default point size to 15: the Japanese
fonts I have are much more readable like this.
- do not set the wordwrap property for multiline wxTextCtrl with
OpenMotif 2.1, otherwise it crashes when text is added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 09:42:16 +00:00
Julian Smart
b61261dfed
Applied patch [ 1217859 ] Swedish translation for the internat sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 17:57:23 +00:00
Vadim Zeitlin
15d0695440
added wxPLURAL() macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 21:16:30 +00:00
Vadim Zeitlin
de93d71f67
ensure that message catalog files are found when the sample is run under Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-17 23:42:49 +00:00
Włodzimierz Skiba
925e9792d3
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Włodzimierz Skiba
f13880a907
Polish translation to i18n sample + source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-26 11:02:13 +00:00
Julian Smart
be5a51fb59
More name changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Julian Smart
dacaa6f142
Applied patch [ 846809 ] Cleaning of 11 samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:25:46 +00:00
Václav Slavík
552973e046
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-09 14:01:41 +00:00
Václav Slavík
9d814be8d0
don't define ngettext, causes problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-19 20:51:05 +00:00
Václav Slavík
4c3590e409
use ngettext instead of _N
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-13 21:29:20 +00:00
Václav Slavík
849a28d0da
added gettext plural forms support (patch #785660 with modifications)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-04 22:38:00 +00:00
Vadim Zeitlin
b28b097d59
added Bulgarian translations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 11:42:35 +00:00
Václav Slavík
96c0a5167b
added Georgian translation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-12 18:37:05 +00:00
Václav Slavík
65dc921d3f
don't report setlocale failure if trying to set Unicode-only language
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 23:20:36 +00:00
Vadim Zeitlin
085c26ac14
updated Japanese translation, minor changes to the code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-29 14:19:46 +00:00
Julian Smart
6aa89a22b8
Fixed copyrights and licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:55:54 +00:00
Mattia Barbon
5c0ee4a80a
Fix compilation with GCC (at least 2.95.4).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:18:32 +00:00
Vadim Zeitlin
a2f26963ba
added (woefully incomplete) Japanese translations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 23:09:13 +00:00
Vadim Zeitlin
017fcf32be
allow choosing language from the command line; small cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-02 14:09:36 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
788233da90
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 22:31:03 +00:00
Mattia Barbon
aec18ff785
Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
...
Addresses:
printf-format warinigs
indentation/style
unused variable warnings
used wxID_ABOUT for about menu entry
removed references to "minimal sample" in other samples
some other misc warinigs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:12:24 +00:00
Julian Smart
618f2efa41
Added __WXX11__ tests where appropriate
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 10:32:18 +00:00
Václav Slavík
b87c90c18c
more wxMGL-aware samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:07:33 +00:00
Mattia Barbon
4693b20c75
Unicode compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Gilles Depeyrot
a6c1aa9027
post wxUniv merge fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 18:44:10 +00:00
Vadim Zeitlin
ae0eb25f8d
added russian language to the list of choices
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 13:44:26 +00:00
Gilles Depeyrot
83661a1347
include xpm files for Mac OS after correction of wxICON macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 11:07:42 +00:00
Václav Slavík
4a377e1375
added English and English US for testing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-13 12:50:10 +00:00
Václav Slavík
1af9f46981
changed internat sample so that it shows language choice dialog on startup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-12 20:31:35 +00:00
Václav Slavík
d3f3e35f54
new locales code checked in
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-10 18:31:26 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Vadim Zeitlin
8e97b17bbd
1. aapplied patch for bcc makefiles from Ricky Gonzales
...
2. regenerated makefiles with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:57:16 +00:00
Robert Roebling
6a2a235ba9
Added German translation to internat sample.
...
Fixed recursion in wxLogGui::Flush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-28 16:50:39 +00:00
Julian Smart
e306597309
Removed lots of OnClose functions; doc'ed OnCloseWindow better;
...
MM_... -> wxMM_...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 23:55:04 +00:00
Vadim Zeitlin
fd323a5e23
updated i18n sample, french translations are now in the "fr" subdirectory.
...
Added some documentation in readme.txt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-13 19:01:43 +00:00
Julian Smart
b412f9be50
Lots of wxMotif fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-01 19:13:35 +00:00
Unknown (RO)
c67daf8777
General tidy-up (mainly typecasts) to allow the use of the SGI native
...
compilers (tested on Irix 6.5 with -mips3 -n32).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-23 03:22:56 +00:00
Vadim Zeitlin
071cc2be5c
crash in wxLog::GetActiveTarget() fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-03 23:03:59 +00:00
Robert Roebling
47908e25f9
Added bitmaps and icons to samples
...
Fixed event handling in all controls
Add some missing functions to wxRadioBox
Fixed clientData stuff to Choice (Combo?)
No more gtk warning in Combo
Fixed toolbar sample and mdi sample
Fixed bug in AddChild resulting from mdi changes
Fixed wxFrame::GetPosition()
Changed order of notification calls in wxListCtrl
to prevent what I think is a reentry bug
The usual compile fixes here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-31 20:04:04 +00:00
Robert Roebling
bd7d06f23d
Removed warnings mesgs
...
Doesn't compile due to missing bufstream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-25 08:31:39 +00:00
Vadim Zeitlin
c7f3b78bac
corrected (after wxTString untimely death) and expanded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-17 21:21:02 +00:00
Karsten Ballüder
2049ba38ad
Changed __GTK__, __WINDOWS__ and __MOTIF__ to __WXGTK__, __WXMSW__ and __WXMOTIF__
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-10 14:15:17 +00:00
Karsten Ballüder
c801d85f15
Initial revision
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-20 14:01:55 +00:00