Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79559dc

Browse files
committed
Initialize GUSI for MacTkPython
1 parent da38f2d commit 79559dc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Mac/Python/macapplication.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3131
extern void PyMac_InitApplication();
3232

3333
main() {
34+
#if defined(__MWERKS__) && defined(USE_TK)
35+
PyTk_InitGUSI();
36+
#endif
3437
#if defined(__MWERKS__) && defined(__CFM68K__)
3538
printf("Hello, world!\n");
3639
#endif

0 commit comments

Comments
 (0)