ObjGUI  Diff

Differences From Artifact [e6393d7b4b]:

To Artifact [1d9e0e9e1a]:


37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//----------------------------------------------------------------------------------------------------------------------------------
- init
{
  self = [super init];
  
  widget = NULL;
  HINSTANCE hInst = (HINSTANCE)GetModuleHandle(NULL);
  widget = CreateWindowEx(WS_EX_LEFT, "OFWidgetClass", "OFWidget", 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







|







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//----------------------------------------------------------------------------------------------------------------------------------
- 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