Commit Graph

30476 Commits

Author SHA1 Message Date
Mart Raudsepp
fee7a683ed [ 1222406 ] Fix for BadMatch X errors with wxGLCanvas under wxGTK - Nathan Cournia.
Modified to not break compilation pre-gtk2.2. Older gtk+ versions than 2.2 probably still need a workaround to
the original problem (the code is identical to them than before). Alas, I've never been able to reproduce the
problem. Testing appreciated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 15:36:18 +00:00
Stefan Csomor
a85245b1c2 correcting condition: only interfere in the non-native case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 06:06:13 +00:00
Vadim Zeitlin
8927d6d11c don't crash when showing vert toolbar when horz one is not shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 01:07:28 +00:00
Vadim Zeitlin
7a7d2a14fd don't call SetSize when creating the 2nd toolbar, this just results in unnecessary flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 19:00:54 +00:00
Vadim Zeitlin
a7e0e432a2 account for client area origin when returning pending position from DoGetPosition()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 18:58:39 +00:00
Stefan Csomor
516d38cdfd applied patch 1216005 : message and new NavDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 18:32:04 +00:00
Stefan Csomor
5324268eab applied patch 1223806 : unicode for tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 17:54:58 +00:00
Stefan Csomor
8fc754bf2b mouse-capture fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 17:32:06 +00:00
Stefan Csomor
1a535eb9ee adding 'select all' semantics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 17:06:57 +00:00
Stefan Csomor
00a7bd8596 fixing names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 16:36:38 +00:00
Vadim Zeitlin
11840d1c73 regenerated after adding sound.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 15:42:03 +00:00
Robert Roebling
2db1b1c0be Correctly calculate ClientSize when using native
toolbars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 13:03:47 +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
Stefan Csomor
328f4fee60 defaulting to small style (24x24), and correcting the cut-off decision to be at > 24 instead of >16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 09:22:29 +00:00
Mattia Barbon
b77a938972 Use accessors for wxObject members.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 07:31:33 +00:00
Michael Wetherell
bfb8eb7eae Defer deletion of wxFontsManager and MGL_exit until after the modules have been cleaned up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 23:15:52 +00:00
Michael Wetherell
b468fab240 Disable wxDataObject for MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 23:12:51 +00:00
Michael Wetherell
b5715bdd0b Temporary fix for missing ;;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 23:08:40 +00:00
Stefan Neis
496959ebbd Only compile PopupWindow if corresponding define is set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 20:48:49 +00:00
Mattia Barbon
8da782ef64 Avoid crash when wxGUIAppTraits::GetToolkitInfo is called too
early.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:32:49 +00:00
Mattia Barbon
d946915c20 Return the correct encoding for X font spec construction
under Japanese locale.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:26:06 +00:00
Mattia Barbon
9d02485ed9 Initialize Xt locale handling.
Set the correct default font encoding on startup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:24:32 +00:00
Mattia Barbon
b12401e0d5 Fix indentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:22:50 +00:00
Mattia Barbon
6603071a99 Make wxBase compiled for wxMotif compatible with wxbase compiled
with all the other Unix-ish ports. Thanks to Ian Brown for nagging
about this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:17:32 +00:00
Mattia Barbon
9c8e9fb600 Add configure check for Lesstif, to be used by following
patches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:14:29 +00:00
Mattia Barbon
8d1bf3c7ff Move per display data cleanup to wxApp::CleanUp where it belongs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:11:49 +00:00
Mattia Barbon
f920436385 Align initial size handling with other ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:09:56 +00:00
Mattia Barbon
c9429ecf52 Remove unused headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 17:07:18 +00:00
Vadim Zeitlin
b55c37167d moved MSW-specific stuff to wx/msw/chkconf.h, this also means that MSW-specific checks are not done for WinCE build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 12:48:40 +00:00
Vadim Zeitlin
7ecb668390 define wxUSE_UNICODE_MSLU as 0 unconditionally, CE doesn't support nor need MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 12:46:11 +00:00
Julian Smart
6926b9c403 assert -> wxASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 11:55:41 +00:00
Julian Smart
7bccea09a7 Define wxUSE_UNICODE_MSLU or chkconf.h complains
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 11:51:07 +00:00
Václav Slavík
e32dc37570 further wxABI_VERSION fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 10:32:12 +00:00
Vadim Zeitlin
2bb0622079 wxUSE_UNICODE_MSLU is MSW-specific so shouldn't be in setup_inc.h: removed and regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:36:33 +00:00
Vadim Zeitlin
d74358bc41 forcefully disable wxUSE_STACKWALKER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:34:05 +00:00
Vadim Zeitlin
0818de2d5b updated the script to deal with licensing information added to wx/setup_inc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:29:41 +00:00
Vadim Zeitlin
a649ec0158 oops, wxUSE_UNICODE_MSLU and not wxUSE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:22:40 +00:00
Vadim Zeitlin
22df83431d define wxUSE_MSLU=1 in compiler flags if MSLU=1 was given in the make flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:17:24 +00:00
Vadim Zeitlin
11cfa8ef8d return pending position/size if any, not the current one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:02:55 +00:00
Vadim Zeitlin
7d86a2d45c replaced wxMoveWindowDeferred() with wxWindow::DoMoveSibling()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-30 00:01:51 +00:00
Vadim Zeitlin
7a0e7e55d8 take border into account in best size calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 23:25:08 +00:00
Vadim Zeitlin
4fa8085100 decreased text limit which we consider to be set by user (and not built in the control) to 10001 which is less than default 30000
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 23:01:56 +00:00
Vadim Zeitlin
f3d0213e5b use ReadLine() instead of GetLine() which sometimes hangs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 22:28:02 +00:00
Vadim Zeitlin
93ed8ff770 added wxDynamicLibrary::GetSymbolAorW()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 22:27:13 +00:00
Vadim Zeitlin
b7146cbec5 compilation fix for IBM xlC (closes 1230392)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 19:44:17 +00:00
Włodzimierz Skiba
3832f94664 OW/Borland/MinGW warnings. Missing headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 19:19:31 +00:00
Włodzimierz Skiba
f5de1a0530 Fixed doubled header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 18:44:49 +00:00
Włodzimierz Skiba
fb5ab39697 Fix (workaround?) for rpmspec.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 18:41:58 +00:00
Włodzimierz Skiba
3a44e4bec8 Fix (workaround?) for rpmspec.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 18:36:45 +00:00
Vadim Zeitlin
4a4aafb247 xlC needs -qunique under AIX only, at least it doesn't accept it at all under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 18:21:32 +00:00