At least on Windows XP 32bit the sublime.ok_cancel_dialog() api function is not working correctly, the return value is always false and even the string for the <ok_button> is not set.
Checked it on MacOS and it is working correctly, so not an issue of the code.
Did you tested this with the latest available version? The previous one, was having some problems with Windows XP
Yes tested on ST 3035. sublime.ok_cancel_dialog("Test", "Button Text") always returns false and the Button Text is not been set.
This seems to work with Win 7 (64 bit), Build 3038.
Yes Working on Win XP(32 bit) now, Build 3038!!