Commit Graph

30491 Commits

Author SHA1 Message Date
Mart Raudsepp
94709f1911 Document wxTextCtrl::XYToPosition, PositionToXY and GetLineLength change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 13:40:13 +00:00
Michael Wetherell
45a74fec3f Set PLATFORM_UNIX for the rpmspec format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 13:36:07 +00:00
Mart Raudsepp
f29a481a66 [wxGTK2] multiline wxTextCtrl: Implement XYToPosition, PositionToXY and GetLineLength natively, making them not take
an eternity per call. Also closes bug #1250464. Not sure if this should go into changes.txt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 13:14:36 +00:00
Michael Wetherell
cdc0140021 Revert previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 11:53:16 +00:00
Michael Wetherell
9cf620e249 Replace disjunction in <if> with two ifs since it seems to be preventing baking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 11:50:32 +00:00
Stefan Csomor
3a0ec6ebdb don't force immediate screen updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 05:13:37 +00:00
Michael Wetherell
94c7b08817 Add import/export attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 00:53:09 +00:00
Michael Wetherell
20123d4958 Add import/export attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 22:58:06 +00:00
Michael Wetherell
172df1f035 Add import/export attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 21:44:34 +00:00
Michael Wetherell
5b12cceef8 Expand tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 20:57:54 +00:00
Michael Wetherell
968eb2ef39 Add import/export macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 18:16:51 +00:00
Julian Smart
d98c97a36a Small corrections to licence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-02 17:36:23 +00:00
Mart Raudsepp
b5ab6d19d3 [wxGTK] wxFileDialog: Use native overwrite confirmation if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 16:39:57 +00:00
Michael Wetherell
6807396fdf Set default size and position for top level windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 16:38:35 +00:00
Mart Raudsepp
b3f4c57077 Mostly cosmetical preprocessor check modifications to last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-01 15:39:46 +00:00
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