Commit Graph

15076 Commits

Author SHA1 Message Date
Gilles Depeyrot
b2fee376fd disable Darwin GCC precompiled headers by default also for wxBase
integrate includes into preprocessor flags instead of both C and C++ flags


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 20:13:19 +00:00
Mattia Barbon
7975104d4a Small clarification in ::wxShowTip docs.
Added a wxPerl note to wxWindow::GetHandle


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:34:34 +00:00
Mattia Barbon
93ff73b308 gettext (correctly) uses "1 message" (singular).
Take that into account in make stats.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:32:03 +00:00
Gilles Depeyrot
a1f9e3ec5d 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@16953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 19:17:56 +00:00
Julian Smart
d38e8d5f34 Changed char* to wxChar*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 11:22:56 +00:00
David Webster
1de4baa31f Notebook, Listbox, and Checklst updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:47:39 +00:00
Ron Lee
a85030bd90 sorry, removing /usr/include breaks the macros we use to detect -lGL and co.
They'll need to be fixed first if this really is the right fix.  (and I'm not
sure what the original problem was, so...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-03 04:43:37 +00:00
Vadim Zeitlin
0c0cee1ed3 removed GetObjectType() ghost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 23:23:28 +00:00
Julian Smart
8c3289daa4 More casting to make gcc 3.2 behave.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 22:47:22 +00:00
Julian Smart
f9c62cfcdd And some more casting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 22:00:37 +00:00
Julian Smart
a336f999c2 Added size_t cast to disambiguate array usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 21:54:42 +00:00
Vadim Zeitlin
ce209cf15b removed /usr/include from SEARCH_INCLUDE -- this should fix wxMotif/AIX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:10:21 +00:00
Vadim Zeitlin
d2c7015bf0 old compilation fix for AIX from Ian Brown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:08:16 +00:00
Vadim Zeitlin
f02444d0d7 define _FILE_OFFSET_BITS/_LARGE_FILES on the compiler command line instead of wx/setup.h to make sure they're always defined when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:53:54 +00:00
Gilles Depeyrot
1bfec677b1 avoid warning for duplicate defined wxEntry when compiling with the Apple
Developer Tools (already defined in common include)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:17:52 +00:00
Gilles Depeyrot
57530dba85 use "..." for wx includes instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:16:32 +00:00
Gilles Depeyrot
7b108a5e8c 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@16940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 19:15:40 +00:00
Vadim Zeitlin
59571fc076 include the header needed to compile this file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 18:10:39 +00:00
Vadim Zeitlin
68b767bf88 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:19:31 +00:00
Vadim Zeitlin
011ba5ed7e fixed restoring fonts from the native font info data which was completely broken somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:19:04 +00:00
Vadim Zeitlin
7ccb2521a6 updated the comment about the flags meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 15:18:25 +00:00
Chris Elliott
cc77c86d1e Michael Fieldings patch 598106 applied in part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:52:32 +00:00
Vadim Zeitlin
6151e1445b generate key events for Space/Enter in addition to the activate events, as wxMSW does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:51:33 +00:00
Vadim Zeitlin
a1d22ad7e9 got rid of COMMON_THREADCPPFLAGS which is not really needed as we can use TOOLCHAIN_DEFS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:43:33 +00:00
Vadim Zeitlin
478cababc5 signed/unsigned comparison warning (and probably even error) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:39:16 +00:00
Vadim Zeitlin
c049568782 fixed the button alignment flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:29:44 +00:00
Vadim Zeitlin
a696db453c no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 12:29:11 +00:00
Julian Smart
1d7609197e Applied patch [ 602924 ] colours and effects in wxMSW::wxFontDialog
wxFontDialog effects only turned on if a valid colour was
provided in wxFontData


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 08:52:34 +00:00
Julian Smart
b814b81248 Committed a couple of IPC changes I forgot to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 08:30:52 +00:00
Vadim Zeitlin
a543e3ce7e choose implicit parent for the dialog boxes better, fixes weird focus jumps when using wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:44:24 +00:00
Vadim Zeitlin
ae3047441e added a few WXDLLEXPORTS, corrected/expanded comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 00:32:30 +00:00
Ron Lee
e0252fb681 More packaging updates for pending 2.3.3 release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 22:58:21 +00:00
Gilles Depeyrot
a811affe70 added wxSpinCtrl::SetSelection method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 21:29:40 +00:00
Ron Lee
2ae8a35352 oops, make it build with wxbase too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:33:06 +00:00
Vadim Zeitlin
14bc59a252 another part of SetSelection() change I forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:24:25 +00:00
Vadim Zeitlin
f7a75af18d no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:00:57 +00:00
Vadim Zeitlin
748333bd25 don't call CreatesMessageOutput() explicitly, it will be created on demand as/if/when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 20:00:46 +00:00
Ron Lee
ec8c565daf added missing #include frame.h for mingw(3.2) build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 19:52:57 +00:00
Julian Smart
9a1725c45a Copy event type too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 19:01:31 +00:00
Stefan Neis
7e48d7d9fb Fixed apparent typo in wxGridCellAttr::MergeWith, hopefully fixing
bug 581558 (wxGrid.SetColAttr vs. SetCellAlignment)
Remove editor in Redimension. This should fix
        bug 593189 (wxGrid:delting rows doesn't hide editor)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 18:14:31 +00:00
Gilles Depeyrot
cd3c2375e6 corrected warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:35:03 +00:00
Václav Slavík
74c107ba48 fixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:11:38 +00:00
Julian Smart
bbcd408aa7 Removed warnings from ipcbase.cpp
Removed extra wxYields from progress dialog
Yield on wxX11 yields twice


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 17:02:36 +00:00
Stefan Neis
a679468530 Clear attribute cache in Redimension to fix Bug 508407.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 16:34:17 +00:00
Julian Smart
7948c0c244 Applied patch [ 603104 ] wxX11 wxClientDC, wxPaintDC fix
This patch changes a pre-compile check to a run-time
check. The fix is that for windows that only using 1 X
window (like wxFrame) the client area needs to be
adjusted...

FL is one of the things that needs this patch to work ok
under wxX11.

Hans Van Leemputten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:59:22 +00:00
Julian Smart
5a33bc097f Clean up string table before uninitializing DDEML
to cure crash on exit in memory-debug mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:48:58 +00:00
Stefan Neis
8403515064 Added some const qualifiers.
"Fixed" bug no 500487 by limiting wxGrid::DoGetBestSize's return value by
        DisplaySize.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:27:26 +00:00
Julian Smart
44379ce6fa Accidentally omitted code from previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 15:08:04 +00:00
Julian Smart
f010ad4812 Applied patch [ 600051 ] DDE and TCP improvements and fixes
By Michael Fielding

As discussed on wx-dev. some fixes and improvements for Interprocess Communication (IPC), using DDE and TCP.

1. DDE buffers were using a global buffer
2. TCP buffers were allocated each time needed, and Request would have caused memory leaks had it been used.

Fixed these both by using a self-resizing buffer in wxConnectionBase. Changed samples and docs to reflect the improved (but backward compatible) internal buffer management. wxConnectionBase could (in future) use wxMemoryBuffer.

3. IPC sample had trouble closing, causing crash, when closing server using window X button.

Because it was (effectively) trying to delete a window in OnExit, when that window was already destroyed. Fixed by making IPCDialog and MyConnection remember if they'd destroyed each other. It's not elegant, but either the connection or the window could be deleted first.

4. Docs for wxDDE... and wxTCP... duplicated eachother, supposed to have same API. Some parts unclear.

Patch removes dde and tcp-specific files (including from tipc.tex and classes.tex), and explains how ipc.h selects for you which one to use based on platform. Some other misc clarifications.

6. Client sample was suffering apparent memory leak because of not deleting connection object, and had a hack in there to do that.

In fact this was due to the derived OnDisconnect not deleting itself, as it does in base class. Mentioned need to do it in docs, fixed sample so that it does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 14:48:16 +00:00
Václav Slavík
1affde0a6b fixed a small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-01 11:41:01 +00:00