Skip to content

Commit

Permalink
Restructure properly as Nimble package
Browse files Browse the repository at this point in the history
  • Loading branch information
PMunch committed Nov 16, 2020
1 parent ff7036b commit 2250d01
Show file tree
Hide file tree
Showing 117 changed files with 756 additions and 41 deletions.
4 changes: 2 additions & 2 deletions examples/genuimacro/controlgallery.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# NOTE: these imports are relative to this folder, this would not be required if wxnim was installed with Nimble
import "../../wx", "../../genui"
import "../../wxnim/wx", "../../wxnim/genui"

# Experimental is required for now, this will become default later
{.experimental.}
Expand Down Expand Up @@ -49,4 +49,4 @@ genui:

# Show the main frame and run the main loop
mainFrame.show()
runMainLoop()
runMainLoop()
2 changes: 1 addition & 1 deletion examples/genuimacro/threads.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "../../wx", "../../genui"
import "../../wxnim/wx", "../../wxnim/genui"
import os
{.experimental.}

Expand Down
2 changes: 1 addition & 1 deletion examples/purewx/example1.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import "../../wx"
import "../../wxnim/wx"

{.experimental.}

Expand Down
2 changes: 1 addition & 1 deletion examples/purewx/example2.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "../../wx", "../../richtext", "../../stc"
import "../../wxnim/wx", "../../wxnim/richtext", "../../wxnim/stc"

{.experimental.}
{.emit: "#include <wx/spinctrl.h>" .}
Expand Down
Loading

0 comments on commit 2250d01

Please sign in to comment.