mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Define wxFSW_EVENT_UNMOUNT if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@72991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,12 @@ def run():
|
||||
# Tweak the parsed meta objects in the module object as needed for
|
||||
# customizing the generated code and docstrings.
|
||||
|
||||
module.addHeaderCode('#include <wx/fswatcher.h>')
|
||||
module.addHeaderCode("""
|
||||
#include <wx/fswatcher.h>
|
||||
#ifndef wxHAS_INOTIFY
|
||||
#define wxFSW_EVENT_UNMOUNT 0x2000
|
||||
#endif
|
||||
""")
|
||||
|
||||
c = module.find('wxFileSystemWatcher')
|
||||
assert isinstance(c, etgtools.ClassDef)
|
||||
|
||||
Reference in New Issue
Block a user