Vadim Zeitlin
27dee9ae02
try to deal more gracefully (than simply not showing anything at all) with invalid UTF-8 strings (e.g. ISO-8859-1 strings inserted in controls with default (UTF-8) font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 17:50:10 +00:00
Vadim Zeitlin
8bb6b2c057
wxPlatformInfo (patch 1532064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Włodzimierz Skiba
e4db172a3b
Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 08:21:31 +00:00
Włodzimierz Skiba
88a7a4e10e
Include wx/intl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-25 14:38:19 +00:00
Włodzimierz Skiba
df91131cb0
Include wx/string.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-24 08:46:59 +00:00
Vadim Zeitlin
d5bef0a323
added wxConvUI which determines the conversion used for the UI elements and can be changed from the user code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-11 00:36:24 +00:00
Vadim Zeitlin
12bc5f9ad2
use wxConvLocal for wxFONTENCODING_SYSTEM/DEFAULT in wxConvertToGTK()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 23:53:09 +00:00
Vadim Zeitlin
5f11fef543
use the encoding of the font which is used to draw the text when convering it to UTF-8 in wxGTK_CONV; the old wxGTK_CONV renamed to wxGTK_CONV_SYS (uses system encoding) and used in the contexts where no font is available
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-10 22:22:13 +00:00
Mart Raudsepp
22a3bce465
gdk_window_get_visual -> gdk_drawable_get_visual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 13:13:04 +00:00
Mart Raudsepp
68567a967b
Nuke GTK1 from src/gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-22 20:29:17 +00:00
Vadim Zeitlin
865bb3251e
GTK+ callbacks must have C linkage (patch 1157384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:42:26 +00:00
Václav Slavík
66bd83b4ec
fixed setting colour of wxStaticText in case the label contains XML special characters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:42:17 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Václav Slavík
a5441ce3a5
return version of GTK+ library the app links against, not the one it was compiled with
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 23:36:07 +00:00
Stefan Neis
189d1ae7a0
Use "Base" version of wxBell on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 20:11:54 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Václav Slavík
324899f6c5
return wxToolkitInfo by reference and not by pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:39:26 +00:00
Václav Slavík
a8eaaeb237
replaced wxAppTraits::GetOSVersion with GetToolkitInfo with richer information that is needed by wxDynamicLibrary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 15:14:17 +00:00
Vadim Zeitlin
46446cc2aa
compilation fix for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 01:31:22 +00:00
Julian Smart
6c9a19aaba
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Vadim Zeitlin
903506828b
fixes for the compilation warnings with Sun CC:
...
1. some fixes for "String literal to char * conversion" warnings (many
more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +00:00
Vadim Zeitlin
447f908aff
fixed the exit code detection for async processes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 19:22:24 +00:00
Vadim Zeitlin
dbd25330c5
fix for running csh scripts using wxExecute()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 12:32:07 +00:00
Robin Dunn
c2fa61e833
Changed wxRootWindow from a global to a staic variable with an
...
accessor function that initializes if on first use. This prevents
core dumps for apps that try to create wxBitmaps before the wxApp
object is initialized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 17:55:28 +00:00
Robin Dunn
ec5d77998a
Implemented wxGetClientDisplayRect which returns the dimensions of the
...
desktop minus taskbar, etc. on Windows and defaults to the full
desktop dimensions on other platforms. (If there is a way to do it
for other platforms please do.)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-30 20:55:11 +00:00
Ron Lee
904a68b6f6
implemented wxDisplaySizeMM for gtk, msw & motif.
...
used wxDisplaySize and wxDisplaySizeMM to calculate real screen PPI in
wxPostScriptPrinter.
documented wxDisplaySize and wxDisplaySizeMM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-25 08:51:35 +00:00
Julian Smart
57591e0edb
Fixed some broken things related to context help, fixed memory leak
...
in wxGenericTreeCtrl (Init should be called before Create, not _in_ Create)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 13:52:10 +00:00
Ove Kaaven
df530a2693
Still no such thing as gtkfeatures.h in gtk+ 1.3.1...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:51:31 +00:00
Jouk Jansen
27df579a6f
Committing in .
...
Patches for the wxGTK compilation on VMS
Modified Files:
wxWindows/descrip.mms wxWindows/setup.h_vms
wxWindows/include/wx/gtk/app.h
wxWindows/samples/minimal/descrip.mms
wxWindows/src/generic/descrip.mms
wxWindows/src/generic/filedlgg.cpp wxWindows/src/gtk/app.cpp
wxWindows/src/gtk/descrip.mms wxWindows/src/gtk/listbox.cpp
wxWindows/src/gtk/utilsgtk.cpp wxWindows/src/gtk/win_gtk.c
wxWindows/src/gtk/window.cpp
wxWindows/src/gtk/wx_gtk_vmsjackets.c
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:07:59 +00:00
Robert Roebling
d76fe38b29
Copied isql.h and isqlext.h to /include/wx/unix and make
...
it get installed.
New code for "best_visual" under SGI and Sun.
Typos in PostScrip code: HelvO and CourO.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 19:50:46 +00:00
Karsten Ballüder
ab857a4ed6
fixed process termination handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 18:16:53 +00:00
Vadim Zeitlin
d111a89a85
1. moved fontenum.cpp to unix because implementation is common to X and GTK+
...
(had to add wxGetDisplay() to wxGTK)
2. implemented EnumerateEncodings() - now only if we could do something useful
with this...
3. added makefile for the console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 17:22:13 +00:00
Vadim Zeitlin
154c4aa113
explicit compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-30 17:02:44 +00:00
Robert Roebling
91b8de8dee
Added OS/2 patches to wxGTK.
...
Updated docs.
Added wxMask code.
Added Sylvain's newest tree ctrl code and sample.
Corrected wxDC background colour (now as wrong as wxMSW).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-13 15:24:01 +00:00
Robert Roebling
279338910f
Added semicolon to macro in list.h - I just read that
...
Vadim doesn't want it there - oh well.
Added check for XKBext.h
Made BMP loader BIGENDIAN safe.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-04 22:53:14 +00:00
Robert Roebling
09fbacf7ad
Moved main Makefile.am for wxGTK to /src/gtk
...
Removed LTLIBOBJECT code from configure with
excpetion of PNG, JPEG, ZLIB and iODBC
Added missing #ifdef for the Xkbdetectauto thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-03 14:14:19 +00:00
Vadim Zeitlin
88ac883a0d
new makefiles (part I)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-01 15:32:12 +00:00
Robert Roebling
f0492f7d97
More key event work. Added SetDetectableAutoRepeat.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 19:35:33 +00:00
Vadim Zeitlin
518b5d2ffb
1. the common helper functions are now in src/unix/utilsunx.cpp
...
2. POSIX threads are in src/unix/threadpsx.cpp
3. some more functions are detected using configure and not guessed from the
platform type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-06 00:11:27 +00:00
Vadim Zeitlin
afb7489128
wxUsleep() introduced (and documented) to try to work around usleep() bug in
...
MT programs under Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-03 17:11:14 +00:00
Vadim Zeitlin
539dae5200
more DG-UX compilation fixes (thanks to Benjamin Beckwith)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 09:36:35 +00:00
Vadim Zeitlin
e6045e08ed
wxExecute() fixes and doc updates: the return value for sync exec case is now
...
the exit code of the process and not its pid. Warning: MSW code is untested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 21:04:47 +00:00
Vadim Zeitlin
220a0f42d4
wxExecute() fix (running console programs doesn't cause X errors any more)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 20:26:38 +00:00
Vadim Zeitlin
7e84f02dfd
wxProcess fixes (Detach() added), cleared/corrected wxExecute() documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 17:56:59 +00:00
Vadim Zeitlin
4e13eb84aa
added #include <fcntl.h> to allow compilation under Linux
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 12:55:15 +00:00
Karsten Ballüder
616c87c9b7
small modification to stdin/stdout/stderr behaviour in wxExcute()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 11:19:10 +00:00
Vadim Zeitlin
5336ece42c
wxProcess() fixes: will really call parent's event handler and will pass the
...
exited process status now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 21:26:54 +00:00
Robert Roebling
bbe0af5b15
minor Configure / makefiles updates
...
Removed mor (egcs) warnings
Updated version to 2.0.1 in version.h
Several corrections for strict compilers
OpenGL updates
new wxApp::InitVisual() for overriding in order to set non-default visual
(unportable, of course)
Added makefiles for DialogEd and Tex2Rtf
made wxGTK compile with Tex2Rtf
Added BEGIN_DRAG event to tree ctrl
Added missing #include to lexel.l (unistd.h) (MSW?)
new wxGTK.spec
turned one or two more #ifdef into #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-08 20:33:18 +00:00
Robert Roebling
2d17d68f47
new cursors
...
bug in menuitem->check
minor things here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-03 11:03:59 +00:00