From 1157ea14872fc9f840150428d8cfd399fe540ff9 Mon Sep 17 00:00:00 2001 From: "gergely.erdelyi" Date: Mon, 26 Apr 2010 19:56:52 +0000 Subject: [PATCH] kernwin.i: simplecustviewer_t removed from the non-Windows builds --- swig/kernwin.i | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/swig/kernwin.i b/swig/kernwin.i index 0e9e087..1f90b8d 100644 --- a/swig/kernwin.i +++ b/swig/kernwin.i @@ -1843,7 +1843,10 @@ class Choose: choose - Display the choose dialogue """ return _idaapi.choose_choose(self, self.flags, self.x0, self.y0, self.x1, self.y1, self.width) +%} +#ifdef __NT__ +%pythoncode %{ # class simplecustviewer_t(object): @@ -2077,9 +2080,11 @@ class simplecustviewer_t(object): # """ # print "OnPopupMenu, menu_id=" % menu_id # return True - +%} +#endif // __NT__ # +%pythoncode %{ # class Choose2: """Choose2 wrapper class"""