Commit Graph

8281 Commits

Author SHA1 Message Date
Ove Kaaven
c3396917e8 Some Unicode compilation fixes. This Unicode stuff in file functions is
always so hard to get right, it seems... I don't like that wxStat isn't
a Unicode wrapper for the real Linux libc stat(), so the caller needs to
convert it for wxStat, but not for e.g. wxRename... this is inconsistent,
so it's not surprising people don't get it right, I guess.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-29 14:06:43 +00:00
Ove Kaaven
d43088ee78 wchar_t byte-swapping is not necessary if __STDC_ISO_10646__ is defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-29 13:19:50 +00:00
Ove Kaaven
f967115097 Unicode compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-29 13:08:18 +00:00
Julian Smart
46f5ad7d2c Added Inno Setup distrib files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-29 11:58:24 +00:00
Gilles Depeyrot
2c6025bce6 added __POWERPC__ define to compilation flags for Mac OS X
do not add _REENTRANT define to compilation flags for Mac OS X
disable drag and drop for Mac OS X (not yet supported)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-28 20:37:52 +00:00
David Webster
f3412ea748 Some new interfaces in common code requires an updated module definition file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-28 20:31:33 +00:00
Robin Dunn
d25f5fbb88 Finished the changes necessary to use the new event system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-28 18:16:58 +00:00
Robin Dunn
5527476f67 Added DECLARE_LOCAL_EVENT_TYPE which doesn't use WXDLLEXPORT. This is
to prevent inconsistent linkage warnings for event types that are not
in the wx DLL, but when you are using the wx DLL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-28 18:13:26 +00:00
Robin Dunn
c9f00eebab fixed typo in a couple method names for wxPython, also some changes in
the wxPython chapter that have been sitting on my disk for some
time...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-28 17:03:23 +00:00
Robin Dunn
cf273c6718 Added code to optionally put the wxSTC on a panel instead of directly
in the notebook.  This eliminates most (all?) of the flicker and
slowdown for wxSTC when in notebooks on wxGTK.  My guess is that
wxNotebook is broken, but this is an acceptable workaround.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-27 18:56:28 +00:00
Robin Dunn
3c2ec1b8ff Remapped zoom/unzoom to Ctrl keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-27 17:29:56 +00:00
Robin Dunn
a7642be106 Put back some code that was commented out for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-27 17:29:04 +00:00
Robin Dunn
f2e1c18a79 fixed bug in IMP_PYCALLBACK__BOOL2DBL2INT, for #223404 in the tracker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 22:38:29 +00:00
Robin Dunn
8a721b35f6 fixed compile warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 22:18:00 +00:00
Robin Dunn
6e18ca6cf4 Added wxWakeUpMainThread, wxMutexGuiEnter, wxMutexGuiLeave,
wxMutexGuiLocker and wxThread_IsMain to assist with dealing with GUI
access from non-GUI threads.

wxPyOnDemandOutputWindow is now thread safe if non-GUI threads use
print, sys.stdout.write, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 22:17:24 +00:00
Robin Dunn
c1e820a40e a fix for the last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 22:15:33 +00:00
Robin Dunn
19cf4f8086 Removed initial startup dependency on the OpenGL DLLs so only the
glcanvasc.pyd depends on them, not wxNN_N.dll


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 21:31:04 +00:00
Robin Dunn
b075a3bbfd some little doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 21:19:58 +00:00
Robin Dunn
c3357374af Fix for Bug #229543
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 21:04:48 +00:00
Julian Smart
77fe02a8e9 Bug fix to Mkdirs and GetLongPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 15:51:02 +00:00
Julian Smart
fc71ef6e17 Added focus in/out handlers for wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 14:49:27 +00:00
Julian Smart
f0ce340942 Added 'full' param to wxFileName::Mkdir to make all directories in a path,
not just the last one


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 13:31:12 +00:00
Julian Smart
5d978d07a4 Corrections to the GetLongPath code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 12:55:06 +00:00
Julian Smart
05e7001c1a Attempt at improving GetLongPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-26 12:16:54 +00:00
Václav Slavík
08b50c2c6c wxZipFSHandler does not report non-local zip archives as openable anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-25 22:20:34 +00:00
Václav Slavík
cb332bc6b7 implemented dummy wxPalette for wxGTK, so that it no longer pops up assertion failures and wxImage and image handlers work correctly now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-25 22:20:19 +00:00
Václav Slavík
4178000933 made wxLocale::GetSystemLanguage and wxLocale::AddLanguage static;
wxLocale now converts strings according to LC_CTYPE if it contains charset information (and uses old code otherwise)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-25 22:19:44 +00:00
Václav Slavík
323af1967c modified wxLANGUAGE generating script to visibly mark automatically generated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-25 22:19:13 +00:00
David Webster
1159a76f9c Ownerdrawn updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-23 23:30:11 +00:00
Vadim Zeitlin
45805ba322 fixed memory leak in wxZlibInputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-23 17:51:22 +00:00
David Webster
5afb945835 Ownerdrawn stuff. Text display done, image display next.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-22 23:23:19 +00:00
Julian Smart
9c0b55475a Fix for tip disappearing immediately under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-22 11:17:25 +00:00
David Webster
7172b423aa More ownerdrawn stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-22 04:41:37 +00:00
Vadim Zeitlin
d8408fc65f merged Ctrl-Space fix from 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 23:55:35 +00:00
David Webster
23122f8c57 OwnerDrawn updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 22:30:48 +00:00
Julian Smart
75ef572207 Changed GetLong/ShortPath to allocate memory dynamically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 22:25:32 +00:00
Vadim Zeitlin
6e6d9f9e7b patch for cleanall target in mingw makefiles (which I forgot to commit before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 19:13:09 +00:00
Vadim Zeitlin
51d673384e forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 19:11:14 +00:00
Vadim Zeitlin
ec37df5776 minor fixes to wxLocale::GetSystemLanguage(), test code for it added to the console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 19:07:23 +00:00
George Tasker
cf1eeea343 Checked back in the change from rev 1.57 that allows UNC dirs and root dirs to be properly evaluated as to their existence under __WIN32__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 18:32:35 +00:00
Vadim Zeitlin
58ef67abc3 merged __sgi compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 14:22:19 +00:00
Vadim Zeitlin
2f3dcbbf20 fixed (?) problems with assignment operator in wxTreeItemId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 14:04:19 +00:00
Julian Smart
9e9b65c1db Added long-filename functions & normalisation; patch to Watcom makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-21 12:34:56 +00:00
David Webster
2c4a8d17cd Ownerdrawn testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-20 22:45:09 +00:00
Ron Lee
ab0e718dc9 changed -dbg priority to match overrides.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-20 15:25:47 +00:00
David Webster
4049cc1ccd More Ownerdraw menu updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-20 14:26:42 +00:00
David Webster
8f70adc9c1 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-20 13:48:04 +00:00
David Webster
45bedfdd73 Ownerdrawn menu updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-20 05:46:07 +00:00
Ron Lee
7b67fc42f9 tweaked wx-config alternatives priorities.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-20 01:02:36 +00:00
Vadim Zeitlin
de8c48cf46 wxImage::Ok() now returns false for images with 0 width or height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-19 18:27:59 +00:00