git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27597
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-int lw_is_lwobject(const char *lw_file)
+bool lw_is_lwobject(const char *lw_file)
{
FILE *f = fopen(lw_file, "rb");
if (f) {
wxInt32 lwob = read_long(f);
fclose(f);
if (form == ID_FORM && nlen != 0 && lwob == ID_LWOB)
- return TRUE;
+ return true;
}
- return FALSE;
+ return false;
}
#endif
#if wxUSE_GLCANVAS
-int lw_is_lwobject(const char *lw_file);
+bool lw_is_lwobject(const char *lw_file);
lwObject *lw_object_read(const char *lw_file);
void lw_object_free( lwObject *lw_object);
void lw_object_show(const lwObject *lw_object);