Modified Files:
wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
wxWindows/src/common/mimecmn.cpp
wxWindows/src/generic/descrip.mms
wxWindows/src/gtk/descrip.mms wxWindows/src/unix/mimetype.cpp
Updated compile support for OpenVMS
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9955
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*/
#define wxUSE_ZIPSTREAM 1
+/*
+ * wxImage support
+ */
+#define wxUSE_IMAGE 1
+
/*
* GIF image format support
*/
*/
#define wxUSE_PNM 1
+/*
+ * XPM image format support
+ */
+#define wxUSE_XPM 1
+
/*
* Disable this if your compiler can't cope
* with omission of prototype parameters.
* present */
#define WX_GMTOFF_IN_TM
+/* iconv()'s 2nd argument is char ** and not const char ** */
+#define WX_ICONV_TAKES_CHAR 1
+
/* Define if you have pw_gecos field in struct passwd */
#undef HAVE_PW_GECOS
imagpng.obj,\
imagpnm.obj,\
imagtiff.obj,\
+ imagxpm.obj,\
intl.obj,\
ipcbase.obj,\
layout.obj,\
wincmn.obj,\
wxchar.obj,\
wxexpr.obj,\
+ xpmdecod.obj,\
zipstrm.obj,\
zstream.obj
imagpng.cpp,\
imagpnm.cpp,\
imagtiff.cpp,\
+ imagxpm.cpp,\
intl.cpp,\
ipcbase.cpp,\
layout.cpp,\
wincmn.cpp,\
wxchar.cpp,\
wxexpr.cpp,\
+ xpmdecod.cpp,\
zipstrm.cpp,\
zstream.cpp
imagpng.obj : imagpng.cpp
imagpnm.obj : imagpnm.cpp
imagtiff.obj : imagtiff.cpp
+imagxpm.obj : imagxpm.cpp
intl.obj : intl.cpp
ipcbase.obj : ipcbase.cpp
layout.obj : layout.cpp
wincmn.obj : wincmn.cpp
wxchar.obj : wxchar.cpp
wxexpr.obj : wxexpr.cpp
+xpmdecod.obj : xpmdecod.cpp
zipstrm.obj : zipstrm.cpp
zstream.obj : zstream.cpp
if ( commands )
commands->Clear();
-#if defined (__WXMSW__) || (__UNIX__)
+#if defined (__WXMSW__) || defined(__UNIX__)
return m_impl->GetAllCommands(verbs, commands, params);
#else // !__WXMSW__ || Unix
// we don't know how to retrieve all commands, so just try the 2 we know
{
#if defined(__WXMSW__)
return m_impl->Unassociate();
-#endif
-
-#if defined(__UNIX__)
+#elif defined(__UNIX__)
return m_impl->Unassociate(this);
-#endif
+#else
wxFAIL_MSG( _T("not implemented") ); // TODO
return FALSE;
-
+#endif
}
bool wxFileType::SetCommand(const wxString& cmd, const wxString& verb,
bool overwriteprompt)
{
-#if defined (__WXMSW__) || (__UNIX__)
+#if defined (__WXMSW__) || defined(__UNIX__)
return m_impl->SetCommand(cmd, verb, overwriteprompt);
#else
wxFAIL_MSG(_T("not implemented"));
#endif
wxCHECK_MSG( !sTmp.empty(), FALSE, _T("need the icon file") );
-#if defined (__WXMSW__) || (__UNIX__)
+#if defined (__WXMSW__) || defined(__UNIX__)
return m_impl->SetDefaultIcon (cmd, index);
#else
wxFAIL_MSG(_T("not implemented"));
msgdlgg.cpp,\
notebook.cpp,\
numdlgg.cpp,\
+ paletteg.cpp,\
panelg.cpp,\
printps.cpp,\
prntdlgg.cpp,\
OBJECTS0=,statline.obj,\
notebook.obj
.else
-OBJECTS0=,filedlgg.obj
-
+OBJECTS0=,filedlgg.obj,paletteg.obj
.endif
all : $(SOURCES)
msgdlgg.obj : msgdlgg.cpp
notebook.obj : notebook.cpp
numdlgg.obj : numdlgg.cpp
+paletteg.obj : paletteg.cpp
panelg.obj : panelg.cpp
printps.obj : printps.cpp
prntdlgg.obj : prntdlgg.cpp
menu.obj,\
minifram.obj,\
notebook.obj,\
- palette.obj,\
pen.obj,\
radiobox.obj,\
radiobut.obj,\
region.obj,\
scrolbar.obj,\
+ scrolwin.obj,\
settings.obj,\
slider.obj,\
spinbutt.obj,\
menu.cpp,\
minifram.cpp,\
notebook.cpp,\
- palette.cpp,\
pen.cpp,\
radiobox.cpp,\
radiobut.cpp,\
region.cpp,\
scrolbar.cpp,\
+ scrolwin.cpp,\
settings.cpp,\
slider.cpp,\
spinbutt.cpp,\
menu.obj : menu.cpp
minifram.obj : minifram.cpp
notebook.obj : notebook.cpp
-palette.obj : palette.cpp
pen.obj : pen.cpp
radiobox.obj : radiobox.cpp
radiobut.obj : radiobut.cpp
region.obj : region.cpp
scrolbar.obj : scrolbar.cpp
+scrolwin.obj : scrolwin.cpp
settings.obj : settings.cpp
slider.obj : slider.cpp
spinbutt.obj : spinbutt.cpp
menu.obj,\
minifram.obj,\
notebook.obj,\
- palette.obj,\
pen.obj,\
radiobox.obj,\
radiobut.obj,\
region.obj,\
scrolbar.obj,\
+ scrolwin.obj,\
settings.obj,\
slider.obj,\
spinbutt.obj,\
menu.cpp,\
minifram.cpp,\
notebook.cpp,\
- palette.cpp,\
pen.cpp,\
radiobox.cpp,\
radiobut.cpp,\
region.cpp,\
scrolbar.cpp,\
+ scrolwin.cpp,\
settings.cpp,\
slider.cpp,\
spinbutt.cpp,\
menu.obj : menu.cpp
minifram.obj : minifram.cpp
notebook.obj : notebook.cpp
-palette.obj : palette.cpp
pen.obj : pen.cpp
radiobox.obj : radiobox.cpp
radiobut.obj : radiobut.cpp
region.obj : region.cpp
scrolbar.obj : scrolbar.cpp
+scrolwin.obj : scrolwin.cpp
settings.obj : settings.cpp
slider.obj : slider.cpp
spinbutt.obj : spinbutt.cpp
// other standard headers
#include <ctype.h>
+#ifdef __VMS
+/* silence warnings for comparing unsigned int's <0 */
+# pragma message disable unscomzer
+#endif
+
// this is a class to extend wxArrayString...
class wxMimeArrayString : public wxArrayString
{