Commit Graph

33233 Commits

Author SHA1 Message Date
Julian Smart
91feb0d1ae Use XPM for symbols and pictures on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:12:48 +00:00
Włodzimierz Skiba
8e13c1ec4e Make wxPASSWORD and wxPROCESS_ENTER really deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:02:37 +00:00
Włodzimierz Skiba
39987096b3 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:48:55 +00:00
Julian Smart
ecf418ad77 Correct test for WORDS_BIGENDIAN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:32:00 +00:00
Julian Smart
f45bffb686 stdpaths.h needs filefn.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 10:30:20 +00:00
Julian Smart
0e41582e52 Added missing includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:29:19 +00:00
Robert Roebling
0f0297d8f3 Remove CVS clash in RCS-ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:14:50 +00:00
Robert Roebling
8b1464af32 Apply wxListCtrl patch which fixes some crashes
and let the generic wxListCtrl show context
    menus like the MSW one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 08:13:48 +00:00
Vadim Zeitlin
b260e323ea properly NUL-terminate the buffer before converting it to Unicode: we may need more than one trailing NUL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 00:05:52 +00:00
Vadim Zeitlin
e11e27cf74 made wxTextFile work in Unicode (bug 1260189); also made it possible to use it with non seekable files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:31:23 +00:00
Vadim Zeitlin
86948c99a6 made wxTextFile work in Unicode; also made it possible to use it with non seekable files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:27:29 +00:00
Vadim Zeitlin
4ae776b767 really fixed iteration over wxTextbuffer using GetFirst/NextLine()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 23:01:00 +00:00
Vadim Zeitlin
ddf56b4c52 we don't need to include wx/textfile.h here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 22:48:16 +00:00
Vadim Zeitlin
3ae00f5b57 reuse Clear() instead of duplicating its code in Close()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:43:15 +00:00
Vadim Zeitlin
2dfa1d9e11 fix bug in Eof() which returned true even if we were only on the last line, not beyond it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:39:48 +00:00
Vadim Zeitlin
a85a25c7d8 use wxLaunchDefaultBrowser by default if no browser is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:23:33 +00:00
Vadim Zeitlin
2364556be3 renamed m_MapFile into m_helpDir because this is what it really is
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 20:05:07 +00:00
Włodzimierz Skiba
5536310df9 Test commit to verify cvs speed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:37:46 +00:00
Vadim Zeitlin
02f51f1f14 added an option to use wxExtHelpController (which means that it now depends on the adv library)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:32:02 +00:00
Vadim Zeitlin
249b3fe3bb rewrote wxExtHelpController loading code to use wxFileName as it was broken under Mac and it also reduces the code size; also use wxTextFile to further simplify the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:28:51 +00:00
Włodzimierz Skiba
06052f3f87 Source and warning cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:26:38 +00:00
Włodzimierz Skiba
6a64f8d41d Unconditional assert means failure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 17:25:14 +00:00
Włodzimierz Skiba
be437778be Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 15:52:54 +00:00
Włodzimierz Skiba
6cd6ec633c Fix for broken 'param' macro syntax.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 15:02:59 +00:00
Włodzimierz Skiba
d23ec02c6a Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 14:47:39 +00:00
Włodzimierz Skiba
f554a14b89 Source and warning cleaning after enabling wxUSE_DATAVIEWCTRL in wxMSW builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 14:01:33 +00:00
Vadim Zeitlin
f3b0f8ad21 documented GetResourcesDir() and GetLocalizedResourcesDir() (somehow forgot to commit before, sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 13:48:18 +00:00
Vadim Zeitlin
8c94336825 fixed unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 13:46:50 +00:00
Włodzimierz Skiba
a8b9c34463 Coverity CID 100 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:36:11 +00:00
Włodzimierz Skiba
faa94f3ec8 Final and global PRIOR/NEXT change: keep consistency using only PAGE versions, deprecate old ids, remove rest of build problems with case statemets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:25:17 +00:00
Jouk Jansen
aa3310b88d Committing in .
Removing obsolete compiler directives for OpenVMS

 Modified Files:
 	wxWidgets/src/generic/notebook.cpp
 	wxWidgets/src/univ/notebook.cpp
 	wxWidgets/src/unix/mimetype.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 09:35:41 +00:00
Vadim Zeitlin
321fe98cfe translate tips which appear inside _() in wxFileTipProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 00:57:06 +00:00
Vadim Zeitlin
85149efad7 removed wxClassInfo::CleanUp() as it breaks wxEntry reentrancy: once the sm_classTable is destroyed it's not going to be recreated again; instead leave last wxClassInfo::Unregister() call do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 00:54:00 +00:00
Vadim Zeitlin
4fbbe847c8 explain that the message catalogs should be installed in the default directory for them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 00:23:44 +00:00
Vadim Zeitlin
89611d4d5a partly undid last commit: we still need to look in . for the message catalogs to find them under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 22:57:49 +00:00
Vadim Zeitlin
f0a6989d8b look for catalogs with LC_MESSAGES subdirectory and without it under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 22:57:19 +00:00
Vadim Zeitlin
adaa49a801 discard the debug directories at the end of the executable path automatically in debug builds to allow running the programs without installing them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 18:31:44 +00:00
Vadim Zeitlin
1191c93ebc no need to add . and .. explicitely to the catalogs search path, the new catalog search code code is smart enough to find them there on its own
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 18:30:04 +00:00
Vadim Zeitlin
f830b2b1fc simplified message catalog search code using the new wxStandardPaths::GetLocalizedResourcesDir()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 18:28:29 +00:00
Vadim Zeitlin
3af9f2de59 added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 17:00:40 +00:00
Vadim Zeitlin
cc4d990340 implemented GetPluginsDir() to behave as documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:50:31 +00:00
Vadim Zeitlin
d3b9c6271b use one #ifdef __VMS instead of doing it in each and every function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:47:44 +00:00
Vadim Zeitlin
4907027102 removed wxMac stuff from here, unless I'm missing something this file is not used under Mac at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:42:05 +00:00
Vadim Zeitlin
300ff33dec don't crash in GetInstallPrefix() if wxTheApp == NULL (especially as we don't need it anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 14:34:27 +00:00
Julian Smart
5cf83b1ac0 Fixed crash in Life demo on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 12:04:37 +00:00
Włodzimierz Skiba
fbb526cced Build fix after PRIOR/NEXT removal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 07:59:53 +00:00
Vadim Zeitlin
e633eb2f36 re-fix operator?: involving wxNodes and compatibility_iterators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 03:14:13 +00:00
Vadim Zeitlin
aedeab233f X11 callbacks must be extern C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 03:01:55 +00:00
Robin Dunn
9c6e3c5714 Use self.GetCanvas() instead of just self.GetCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:14:46 +00:00
Robin Dunn
6802574779 more size_t --> unsigned int changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 00:13:33 +00:00