Changes between Version 6 and Version 7 of WxWidgetsPort
- Timestamp:
- 11/22/10 20:41:56 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WxWidgetsPort
v6 v7 35 35 Remove any lines for 36 36 {{{ 37 #!cs 37 38 using System 38 39 using System.Collections.Generic … … 48 49 Before ''''use System.Drawing'''' add a ''''use .. from line'''' for wx.NET 49 50 {{{ 51 #!cobra 50 52 use wx from "wx.NET" 51 53 use System.Drawing … … 53 55 or add an explicit compiler directive ref line and a 'use wx' line 54 56 {{{ 57 #!cobra 55 58 @ref "wx.NET" 56 59 ... … … 70 73 e.g. 71 74 {{{ 75 #!cs 72 76 enum Cmd { About, Quit, Dialog } 73 77 }}} 74 78 -> 75 79 {{{ 80 #!cobra 76 81 enum Cmd 77 82 About 78 83 Quit 79 84 Dialog 80 81 85 }}} 86 87 {{{ 88 #!cs 82 89 enum ID_CONTROLS { 83 90 ID_RADIO_ORIENT = 5999, … … 89 96 -> 90 97 {{{ 98 #!cobra 91 99 enum ID_CONTROLS 92 100 ID_RADIO_ORIENT = 5999 … … 331 339 e.g. 332 340 {{{ 341 #!cs 333 342 [STAThread] 334 343 static public void main() … … 336 345 to 337 346 {{{ 347 #!cobra 338 348 def main is shared has STAThread 339 349 }}} … … 347 357 e.g. 348 358 {{{ 359 #!cobra 349 360 use wx from "wx.NET" 350 361 namespace SampleMinimal … … 354 365 change to 355 366 {{{ 367 #!cobra 356 368 use wx from "wx.NET" 357 369 namespace SampleMinimal