@@ -36,17 +36,17 @@ @implementation OGWidget //---------------------------------------------------------------------------------------------------------------------------------- - init { self = [super init]; - + widget = NULL; HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL); widget = CreateWindowEx(WS_EX_LEFT, "OGWidgetClass", "OGWidget", WS_OVERLAPPEDWINDOW, 0, 0, 1, 1, NULL, NULL, hInst, NULL); SetWindowLong(widget, GWL_USERDATA, (int)self); - + @try { if (isa == [OGWidget class]) @throw [OFNotImplementedException exceptionWithClass: isa selector: @selector(init)];