#PB_Splitter_Separator flag in SplitterGadget procedure doesn't seem to do anything on mac. I think it's a documentation bug - missing info that this flag is ignored on mac (or is it not supposed to be ignored?). See following code:
Code: Select all
If OpenWindow(0, 100,100, 200,100, "Splitters")
ButtonGadget(1, 0, 0, 100, 30, "Button 1")
ButtonGadget(2, 0, 0, 100, 30, "Button 2")
SplitterGadget(3, 0, 0, 100, 100, 1, 2)
ButtonGadget(4, 0, 0, 100, 30, "Button 3")
ButtonGadget(5, 0, 0, 100, 30, "Button 4")
SplitterGadget(6, 100, 0, 100, 100, 4, 5, #PB_Splitter_Separator)
Repeat
WaitWindowEvent()
Until WindowEvent() = #PB_Event_CloseWindow
EndIf
