Skip to content

Commit

Permalink
tutorial: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jafl committed Jan 27, 2024
1 parent 888c4bf commit 5b4b9d6
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tutorial/01-HelloWorld/hello_world.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - there should only be one of these
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Make sure that new succeeded
assert( app != nullptr );
Expand Down
2 changes: 1 addition & 1 deletion tutorial/02-MenuHello/menu_hello.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create the window director to maintain the Hello World window
MenuHelloDir* mainDir = jnew MenuHelloDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/03-DialogHello/dialog_hello.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create the window director to maintain the Hello World window
DialogHelloDir* mainDir = jnew DialogHelloDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/04-Widget/widget_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create our window director
WidgetDir* mainDir = jnew WidgetDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/05-Scrolling/scrolling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create the window director
ScrollingWidgetDir* mainDir = jnew ScrollingWidgetDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/06-DragPainter/drag_painter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create the window director
DragWidgetDir* mainDir = jnew DragWidgetDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/07-Printing/printing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create the window director
PrintWidgetDir* mainDir = jnew PrintWidgetDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/08-SimpleTable/simpletable_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create our window director
SimpleTableDir* mainDir = jnew SimpleTableDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/09-DataTable/datatable_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create our window director
DataTableDir* mainDir = jnew DataTableDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/10-SelectionTable/selectiontable_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create our window director
SelectionTableDir* mainDir = jnew SelectionTableDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/11-EditTable/edittable_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create our window director
EditTableDir* mainDir = jnew EditTableDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/12-Clipboard/clipboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create the window director to maintain the Clipboard window
ClipboardDir* mainDir = jnew ClipboardDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/13-Undo/undo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create the window director
UndoWidgetDir* mainDir = jnew UndoWidgetDir(app);
Expand Down
2 changes: 1 addition & 1 deletion tutorial/14-DragAndDrop/dnd_widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ main
{
// Create the application object - one per program
JXApplication* app =
jnew JXApplication(&argc, argv, kAppSignature, kTutorialStringData);
jnew JXApplication(&argc, argv, kAppSignature, kAppSignature, kTutorialStringData);

// Create the window director
DNDWidgetDir* mainDir = jnew DNDWidgetDir(app);
Expand Down

0 comments on commit 5b4b9d6

Please sign in to comment.