* Use wxDL_VOIDMETHOD_DEFINE where necessary
* Add a semi-colon after wxDL_METHOD_LOAD calls
Linking is still broken though (MimeTypesManagerImpl::AddToMimeData required, but not exported from base)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49670
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
public:
wxGnomeVFSLibrary();
~wxGnomeVFSLibrary();
public:
wxGnomeVFSLibrary();
~wxGnomeVFSLibrary();
bool InitializeMethods();
wxDynamicLibrary m_libGnomeVFS;
bool InitializeMethods();
wxDynamicLibrary m_libGnomeVFS;
public:
wxDL_METHOD_DEFINE( gboolean, gnome_vfs_init,
(), (), FALSE )
public:
wxDL_METHOD_DEFINE( gboolean, gnome_vfs_init,
(), (), FALSE )
- wxDL_METHOD_DEFINE( void, gnome_vfs_shutdown,
- (), (), /**/ )
+ wxDL_VOIDMETHOD_DEFINE( gnome_vfs_shutdown,
+ (), () )
wxDL_METHOD_DEFINE( GnomeVFSResult, gnome_vfs_mime_set_icon,
(const char *mime_type, const char *filename), (mime_type, filename), GNOME_VFS_OK )
wxDL_METHOD_DEFINE( GnomeVFSResult, gnome_vfs_mime_set_icon,
(const char *mime_type, const char *filename), (mime_type, filename), GNOME_VFS_OK )
bool wxGnomeVFSLibrary::InitializeMethods()
{
bool wxGnomeVFSLibrary::InitializeMethods()
{
- wxDL_METHOD_LOAD( m_libGnomeVFS, gnome_vfs_init )
- wxDL_METHOD_LOAD( m_libGnomeVFS, gnome_vfs_shutdown )
+ wxDL_METHOD_LOAD( m_libGnomeVFS, gnome_vfs_init );
+ wxDL_METHOD_LOAD( m_libGnomeVFS, gnome_vfs_shutdown );